Skip to content
Hexel StudioDocs

Restrict session

POST/titan/admin/sessions/{id}/restrict

Path parameters

idstring

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

Body parameters

actionstring

One of: "suspend", "resume", "revoke"

One of: "OPERATOR_REQUEST", "SECURITY_INCIDENT", "POLICY_VIOLATION"

Returns

200Successful response; exact status varies by operation.object

changedboolean
statestring

One of: "active", "suspended", "revoked", "closed"

Errors

  • 400Admin error
  • 403Admin error
  • 404Admin error
  • 409Admin error
  • 413Admin error
  • 415Admin error
  • 503Admin error