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>'
{}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/user/example-id', {
  method: 'DELETE',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

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.