post
https://www.pelcro.com/api/v1/sdk/auth/logout
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Invalidate the authenticated customer's current session token (log out). After this call the JWT can no longer be used on protected endpoints — the customer must log in again to obtain a new one. Returns the customer (no token is included in the response).
Example:
curl --request POST \
--url 'https://www.pelcro.com/api/v1/sdk/auth/logout?site_id=1232' \
--header 'Authorization: Bearer <JWT>'