Skip to content

Revoke one current user's Authrim browser session.

DELETE
/api/account/sessions/{id}
Code sample: Shell / cURL
curl --request DELETE \
--url https://auth.example.com/api/account/sessions/example \
--cookie authrim_session=<authrim_session>

Invalidates a session owned by the authenticated Account Page user. Revoking the current session also clears the Account Page session cookie.

id
required
string

Account Page session revoke response.

Media type application/json
object
ok
required
boolean
session
required
object
id
required
string
current
required
boolean
store_status
required
string
Allowed values: revoked not_found not_applicable
Example
{
"session": {
"store_status": "revoked"
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}