Skip to main content
PUT
/
allowlists
/
{allowlistId}
Update the outcome, scope, or name of an allowlist entry by ID
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"
}

Authorizations

Authorization
string
header
required

Path Parameters

allowlistId
string
required
Required string length: 36
Example:

Body

application/json
name
string
Maximum length: 255
Example:
scope
string
Maximum length: 255
Example:
outcome
enum<string>
Available options:
scope,
siteAccess,
block

Response

id
string
required
Required string length: 36
Example:
name
string
required
projectEnvironmentId
string
required
Required string length: 36
Example:
enabledAt
string<date-time> | null
scope
string | null
outcome
enum<string>
Available options:
scope,
siteAccess,
block