PUT
/
workspaces
/
consent
Update Consent
curl --request PUT \
  --url https://api.contextual.ai/v1/workspaces/consent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "CONSENT_FULL"
}'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request to update the consent status for the workspace.

type
enum<string>
required

The new consent status

Available options:
CONSENT_FULL,
CONSENT_SUPPORT,
REVOKE,
UNKNOWN

Response

Successful Response

The response is of type object.