Skip to main content
PUT
/
api
/
policies
/
restrictions
/
disable
/
{restriction_name}
Disable Restriction
curl --request PUT \
  --url https://{organization_id}.platform.barndoor.ai/api/policies/restrictions/disable/{restriction_name} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

restriction_name
string
required

Query Parameters

id
string[]

Response

Successful Response