Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Revoke sessions on an end user

Revokes every session of an end user.

Revokes every session of an end user.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/end_users/end-user:revokeSessions
  • Scope auth:write
  • Effect destructive — a successful call removes data; the CLI asks before it runs.
  • Collection end_users

#Request

FieldTypeWhat it is
namestringThe name of the end user. Required.

#Response

FieldTypeWhat it is
revoked_countint32Sessions revoked.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/end_users/end-user:revokeSessions" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'