Revoke an OAuth token obtained through SSO with OIDC
Revoke a previously obtained OAuth access or refresh token for an IdP
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
- application/json
Request Body required
- person_id string required
Person ID
- authentication_id string required
The ID of the SSO OIDC authentication that issued the OIDC token(s) to be revoked.
- token_types string[]
Possible values: [
access
,refresh
,id
]The type of OIDC token being revoked. If not provided, all OIDC tokens matching the provided authentication ID will be revoked.
Responses
- 204
- 400
- 404
No content
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}