Revoke Access Token
DELETE
/token/{id}
const url = 'https://auth.interledger-test.dev/token/example';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://auth.interledger-test.dev/token/example \ --header 'Authorization: <Authorization>'Management endpoint to revoke access token.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»id
required
string
The unique reference of the access token to be managed.
Responses
Sección titulada «Responses»No Content
Unauthorized
Media typeapplication/json
Invalid client
object
error
object
description
string
code
string
Example
{ "error": { "code": "invalid_client" }}Internal Server Error
Media typeapplication/json
Request denied
object
error
object
description
string
code
string
Example
{ "error": { "code": "request_denied" }}