(Deprecated) Revoke an OAuth token obtained through SSO with OIDC
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
Revoke a previously obtained OAuth access or refresh token for an IdP. This endpoint is deprecated. Please use /sso/oidc/tokens/revoke/v2 instead.
Header Parameters
- SlashID-SdkVersion string
SDK version
Example: 1.4.1
- application/json
Request Body required
- client_id string required
The client ID originally used to obtain the token from the IdP
- token string required
The token to be revoked
- token_type string required
Possible values: [
access_token
,refresh_token
]The type of token being revoked, either access or refresh
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"
}
]
}