Skip to main content

Disable one of my sessions

DELETE 

/auth/sessions/:id

Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.

Request

Path Parameters

    id stringrequired

    ID is the session's ID.

Header Parameters

    X-Session-Token string

    Set the Session Token when calling from non-browser clients. A session token has a format of MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj.

    Cookie string

    Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server.

Responses

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

Loading...