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`
/identity/v1/users/{id}/temporary-passwordWhen 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
Authorization
oauth2 In: header
Path Parameters
Identity provider user id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
curl -X POST "https://example.com/identity/v1/users/string/temporary-password" \ -H "Content-Type: application/json" \ -d '{ "recognized_by": "string" }'{ "temporary_password": "string", "user": { "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" }}Suspend an identity user
Disables a user by provider id. **Required permission:** `identity.user:write`
Read the station time
The station time, the station's time zone, the real time, how far ahead the station time is, and whether this deployment lets it be moved. **Required permission:** `platform.clock:read`