Skip to content

Delete a session under a given site

Request

This endpoint is used to delete a specific session for a given site. You need to provide the unique identifiers for the site and the session. This operation is useful when you want to manually end a session before it naturally expires.

Security
ZephrHmacHttp
Path
sitestringrequired

The unique site identifier within the tenant.

sessionIdstringrequired

Unique session identifier assigned to each session, enabling precise identification and retrieval of session-related information within the API.

cURL
curl -i -X DELETE \
  'https://demo.api.zephr.com/v4/sessions/{site}/{sessionId}' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK. The session was successfully deleted.

Headers
any