curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/origins \
--header 'Authorization: Bearer <token>' \
--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 'Authorization: Bearer <token>' \
--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"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Fields necessary to add an origin
Origin was added successfully
Show child attributes
36"95b11417-f18f-457f-8804-68e361f9164f"
36"95b11417-f18f-457f-8804-68e361f9164f"
Was this page helpful?