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
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
The unique reference of the access token to be managed.
Responses
Section titled “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" }}