Skip to content

Deactivate a user record

Request

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

Deleting a user, revokes their access to the platform but retains all information stored against them.

We suggest implementing a process to reactivate users if there is potential that they may return. If a request to create a user that already exists in either an active or deleted state is posted to our system, we will reject it.

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
DELETE
/v3/user/delete/{identifier}/{identifier_value}
curl -i -X DELETE \
  https://propello-cloud.redocly.app/_mock/openapi/v3/user/delete/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": [] }