DELETE
/v2/administration/users/{userId}Delete a server user
Deletes a server user by identifier. Use this operation when you need to remove the user's account rather than temporarily prevent sign-in; disabling a user preserves their data and can be reversed with the enable operation.
userIdintegerrequired
The integer identifier of the server user to delete.
200Confirms that the server user was deleted.
400Returned when `userId` is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to delete users.
codestringrequired
paramsarray<object>optional
404Returned when the specified server user is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when userId is invalid, a 401 when the request is unauthenticated, a 403 when the authenticated user lacks permission to delete users, and a 404 when the user is not found. The userId path parameter must be an integer identifying the server user to delete.