SmartGare
API referenceEndpoints

End all of a user's sessions

Signs the user out of every application at once. **Required permission:** `identity.user:write`

POST/identity/v1/users/{id}/sessions-ended

Signs the user out of every application at once.

Required permission: identity.user:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Identity provider user id

Response Body

*/*

curl -X POST "https://example.com/identity/v1/users/string/sessions-ended"
{  "email": "string",  "first_name": "string",  "id": "string",  "last_name": "string",  "last_sign_in": "2019-08-24T14:15:22Z",  "phone": "string",  "roles": [    "string"  ],  "status": "ACTIVE",  "username": "string"}