Skip to main content
DELETE
Delete User
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/user/ Description: The /user/{userId} endpoint allows users to delete a specific user identified by their unique userId. Authorization:
  • Required role: admin or higher
Method: DELETE Path Parameter:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

User ID

Response

success

The response is of type object.