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:

Responses

default

successful response

401

Unauthorized

403

Forbidden

429

Too Many Requests

4XX

Error responses

500

Internal Server Error

5XX

Error responses

Request samples

Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/auth/1/session' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
Copy
Collapse all
{
  • "requestError":
    {
    • "serviceException":
      {
      • "messageId": "UNAUTHORIZED",
      • "text": "Unauthorized"
      }
    }
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.