curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/allowlists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An example name",
"scope": "An example name",
"outcome": "scope"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "<string>",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"enabledAt": "2023-11-07T05:31:56Z",
"scope": "<string>",
"outcome": "scope"
}curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/allowlists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "An example name",
"scope": "An example name",
"outcome": "scope"
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"name": "<string>",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"enabledAt": "2023-11-07T05:31:56Z",
"scope": "<string>",
"outcome": "scope"
}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 create a new allowlist
Created
36"95b11417-f18f-457f-8804-68e361f9164f"
36"95b11417-f18f-457f-8804-68e361f9164f"
scope, siteAccess, block Was this page helpful?