Invalida o token de acesso informado.
Payload de entrada
{
//Token de acesso que será invalidado.
accessToken: string
}
Request
curl --location --request POST https://api.senior.com.br/platform/authentication/logout
--header "Content-Type: application/json" --header "client_id: {client_id}" --header "Accept: application/json"
--header "Authorization: Bearer {access_token}" --data-raw "{ 'accessToken': '{access_token}' }"
Response
200 Ok
{ }
400 Requisição Inválida
<ams:fault xmlns:ams="http://wso2.org/apimanager/security">
<ams:code>900901</ams:code>
<ams:message>Invalid Credentials</ams:message>
<ams:description>Access failure for API: /t/senior.com.br/bridge/1.0, version: 1.0. Make sure your have given the correct access token</ams:description>
</ams:fault>