Restrict session
POST
/titan/admin/sessions/{id}/restrictPath parameters
idstring
Headers
Authorizationstring
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).
Titan-Enforcement-Deploymentoptional string
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"
reason_codestring
One of: "OPERATOR_REQUEST", "SECURITY_INCIDENT", "POLICY_VIOLATION"
Returns
200Successful response; exact status varies by operation.object
Errors
- 400Admin error
- 403Admin error
- 404Admin error
- 409Admin error
- 413Admin error
- 415Admin error
- 503Admin error