PUT
/
allowlists
/
{allowlistId}
/
enable
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/allowlists/{allowlistId}/enable \
  --header 'Authorization: Bearer <token>'
{
  "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
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

allowlistId
string
required

ID of the allowlist

Response

200 - application/json
id
string
required

ID of the allowlist

name
string
required
enabledAt
string | null
projectEnvironmentId
string
required

ID of the allowlist

scope
string | null
outcome
enum<string>
Available options:
scope,
siteAccess,
block