Single Sign-On API \ Delete SSO session PHP SDK
|Resource/URI - Base Single Sign-On Required||GET||POST||PUT||DELETE|
Single Sign-On Sessions
||List SSO sessions||–||–||–|
Single Sign-On Session
||Read SSO session||–||–||Delete SSO session|
Request: the code to send to the API
DELETE request to the endpoint
/sso/sessions/<sso_session_token>.json to delete a Single Sign-On session.
This will also invalidate the cookies that have been set for that session and the user will no longer be logged in through SSO.
Alternatively you can also use this endpoint to remove a session
identity_token. Please note that sessions are also automatically queued for deletion once they are past their expiration date.
To prevent you from unintentionally deleting an entry by mixing up the
you have to include the url parameter
confirm_deletion=true in your
If you omit this parameter, the entry will not be removed and an error will be thrown.
Result: the code returned by the API
The API either returns a HTTP status code
200 if the entry was deleted sucessfully
or an appropriate message body with further details on the error that occured.