-
Notifications
You must be signed in to change notification settings - Fork 5
DeleteUser
Walter Lara edited this page May 4, 2023
·
4 revisions
Deletes an existing User. Only allowed if the requestor is the same as the target User.
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}
Code: 204 NO CONTENT
Headers: None
Code: 401 UNAUTHORIZED
Condition: If {accessToken}
is invalid or expired.
Code: 403 FORBIDDEN
Condition: If requestor is not the same as target User.