Log Out
get
/oauth2/v1/userlogout
Request
Query Parameters
-
id_token_hint(required): string
Identity Token that is generated during a 3-legged OAuth flow
-
post_logout_redirect_uri(required): string
Redirect URI after logout
-
state: string
Opaque value used to maintain the state between the request and the callback
Response
200 Response
Logout complete
400 Response
Invalid request
Examples
The following example shows how to log a user out (and remove associated cookies and sessions) by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. See the Authorization section for more information on grant types.
cURL Command
Note:
The command in this example uses the URL structurehttps://tenant-base-url/resource-path
, where tenant-base-url
represents the Identity Service URL, and the resource path represents the Identity Service API. See Send Requests for the appropriate URL structure to use.
curl
-X GET
-H "Content-Type:application/scim+json"
https://tenant-base-url/oauth2/v1/userlogout
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
}