Log out

Invalidate the authenticated customer's current session token (log out). The JWT can no longer be used on protected endpoints; the customer must log in again to obtain a new one. Returns the customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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>'
Query Params
int32
required

The unique identifier of the site associated with your account.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json