Logout
Use this API instead:
- /cloudapi/1.0.0/sessions/current
Performs a logout by invalidating the supplied token (if supplied) and returning an URL to navigate to. The token to invalidate is taken from the ex-identity-auth-token header.
Access Policy
Role | Access |
---|---|
Anonymous | ✔️ |
Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/auth/logout
COPY
Header Parameters
string
The access token to be invalidated.
Optional
The access token to be invalidated.
Responses
200
OK
Returns
UrlResponse
of type(s)
*/*
{
"url": "string"
}
string
url
Optional
The URL to redirect to.
400
Invalid request body
Returns
UrlResponse
of type(s)
*/*
"UrlResponse Object"
string
url
Optional
The URL to redirect to.
415
Unsupported media type
Returns
UrlResponse
of type(s)
*/*
"UrlResponse Object"
string
url
Optional
The URL to redirect to.
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/auth/logout
Deprecated
Authentication Controller Operations
POST
Get Access Token Pkce Flow
Deprecated
POST
Logout
Deprecated
POST
Get Access Token With Authorization Request
Deprecated
POST
Get Access Token With Refresh Token
Deprecated
GET
Get Keys
Deprecated