curl --request PUT \
--url https://app.dynamicauth.com/api/v0/allowlists/{allowlistId} \
--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>",
"enabledAt": "2023-11-07T05:31:56Z",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"scope": "<string>",
"outcome": "scope"
}
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/allowlists/{allowlistId} \
--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>",
"enabledAt": "2023-11-07T05:31:56Z",
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"scope": "<string>",
"outcome": "scope"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the allowlist
36
"95b11417-f18f-457f-8804-68e361f9164f"
Successful operation
The response is of type object
.
Was this page helpful?