API referenceEndpoints
Suspend an identity user
Disables a user by provider id. **Required permission:** `identity.user:write`
POST
/identity/v1/users/{id}/suspensionDisables a user by provider id.
Required permission: identity.user:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Identity provider user id
Response Body
*/*
curl -X POST "https://example.com/identity/v1/users/string/suspension"{ "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"}End all of a user's sessions
Signs the user out of every application at once. **Required permission:** `identity.user:write`
Give a temporary password
When the station cannot send e-mails, replaces the user's password with a temporary one drawn by SmartGare, after the named supervisor has recognised the person, and answers it this once; the user chooses their own at the next sign-in. Refused when a reset link can be sent instead. **Required permission:** `identity.user:write`