curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/origins \
--header 'Content-Type: application/json' \
--data '{
"origin": "http://*.example.com"
}'
{
"origin": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"origin": "http://*.example.com",
"createdAt": "2023-11-07T05:31:56Z",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f"
}
}
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/origins \
--header 'Content-Type: application/json' \
--data '{
"origin": "http://*.example.com"
}'
{
"origin": {
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"origin": "http://*.example.com",
"createdAt": "2023-11-07T05:31:56Z",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f"
}
}
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
Fields necessary to add an origin
The body is of type object
.
Origin was added successfully
The response is of type object
.
Was this page helpful?