Destroy session
This method allows you to destroy a session (login).
Please log in to see full path URL. Learn why.
delete
/auth/1/session
Authorizations:
Scopes:
Responses
default
successful response
401
Unauthorized
403
Forbidden
429
Too Many Requests
4XX
Error responses
500
Internal Server Error
5XX
Error responses
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/auth/1/session' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 401
- 403
- 429
- 4XX
- 500
- 5XX
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "UNAUTHORIZED",
- "text": "Unauthorized"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See