Token Revocation (RFC 7009)
POST
/oidc/revoke
const url = 'https://auth.timetonic.com/oidc/revoke';const options = { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams({token: 'example', token_type_hint: 'access_token'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://auth.timetonic.com/oidc/revoke \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data token=example \ --data token_type_hint=access_tokenRevoke an access or refresh token. Always returns 200.
Request Bodyrequired
Section intitulée « Request Bodyrequired »Media typeapplication/x-www-form-urlencoded
object
token
required
string
token_type_hint
string
Responses
Section intitulée « Responses »Token revoked (or was already invalid)