Skip to content

Restore a deactivated user record

Request

Security
BearerAuth
Path
identifierstringrequired
Enum:"id""email""UID"
Example:email
identifier_valuestringrequired
Example:john.smith@example.org
Bodyapplication/json

If accessing via an organisation level token you will need to provide an organisation group id in order to indicate which group the user belongs to.

organisation_group_idinteger
Example:1
curl -i -X POST \
  https://propello-cloud.redocly.app/_mock/openapi/v3/user/restore/email/john.smith@example.org \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "organisation_group_id": 1
  }'

Responses

OK

Bodyapplication/json
statusinteger
Example:200
timestampstring
Example:"1970-01-30T00:00:00.000000Z"
dataany
Example:
[]
Response
{ "status": 200, "timestamp": "1970-01-30T00:00:00.000000Z", "data": [] }