Skip to main content

Perform Logout for Native Apps

DELETE 

/auth/self-service/logout/api

Use this endpoint to log out an identity using an Session Token. If the Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Session Token has been revoked already before.

If the Session Token is malformed or does not exist a 403 Forbidden response will be returned.

This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.

Request

Body

required
    session_token stringrequired

    The Session Token

    Invalidate this session token.

Responses

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

Loading...