Logout

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.


Authentication
This operation uses the following authentication methods.
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