Skip to content

DeleteUser

Walter Lara edited this page May 4, 2023 · 4 revisions

Delete User

Deletes an existing User. Only allowed if the requestor is the same as the target User.

Request

URLs:

/v1/users/me

/v1/users/{userId}

Method: DELETE

Path Parameters: None

Parameter Type Description
userId string UUID of the User to delete (notice that only requester ID is allowed).

Headers:

Authorization: Bearer {accessToken}

✅ Success Response

Code: 204 NO CONTENT

Headers: None

❌ Error Responses

1. Unauthorized

Code: 401 UNAUTHORIZED

Condition: If {accessToken} is invalid or expired.

2. Forbidden

Code: 403 FORBIDDEN

Condition: If requestor is not the same as target User.

See Also

Post User (Add New User)

Patch User (Update User)

Get User

Get Users

Get User Count

Put User Password (Reset Password)

Clone this wiki locally