Skip to content

Revoke a user's session (admin)

DELETE
/admin/users/{ref}/sessions/{id}
ref
required
integer format: int64
id
required
string format: uuid

Session revoked.

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed