API ReferenceAdmin Auth Users
Reinstate Auth User
POST
/v1/admin/auth_users/{auth_user_id}/reinstateReinstate a suspended user.
The user can sign in again with the same sub, attributes, roles and
group memberships. Credentials revoked by the suspend stay revoked: the
user adds their phone again in the SenseCrypt app (a PIN emailed to them,
then a face check), and is emailed that the account was reinstated and how
to do so. Reinstating a user who is not suspended changes nothing and
sends no email. Returns 404 for an unknown user, and 409 scim_managed
for a user provisioned by SCIM.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
auth_user_id*Auth User Id
Format
uuidResponse Body
application/json
application/json
curl -X POST "https://example.com/v1/admin/auth_users/497f6eca-6276-4993-bfeb-53cbbbba6f08/reinstate"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subject_id": "string", "email": "user@example.com", "name": "string", "attributes": {}, "app_metadata": {}, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "active": true, "scim_managed": false, "role_count": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}