Revoke an OAuth token obtained through SSO with OIDC
Revoke a previously obtained OAuth access or refresh token for an IdP
Header Parameters
- SlashID-SdkVersion string
SDK version
Example: 1.4.1
- application/json
Request Body required
- token string required
SlashID user token authenticated to OIDC providers which will be revoked.
- token_ids string[]
The ID of the tokens to be returned. If not provided, all OIDC tokens from provided token will be revoked.
- token_types string[]
Possible values: [
access_token,refresh_token]The type of token being revoked. If not provided, all OIDC tokens from provided token will be revoked.
Responses
- 204
- 400
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"
}
]
}