Skip to main content
DELETE
/
user
/
{id}
Delete User
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id} \
  --header 'Authorization: Bearer <token>'
{}
/user/ Description:
The /user/{userId} endpoint allows users to delete a specific user identified by their unique userId.
Method:
DELETE
Path Parameter:
ParameterTypeDescription
userIdstringThe unique identifier of the user.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathUser ID

Responses

✅ 200 - success

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

User

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.

I