Skip to main content
DELETE
/
user
/
{id}
/
email
/
{email}
Remove User Email
curl --request DELETE \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/email/{email} \
  --header 'Authorization: Bearer <token>'
{
  "message": "User Email removed successfully"
}
/user//email/ Description:
This /user/{id}/email/{email} endpoint is used to remove a user from the system based on their user ID and email address.
Method:
DELETE
Path Parameters:
ParameterTypeDescription
idstringThe unique identifier of the user.
emailstringThe email address of the user to remove.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…The unique identifier of the user
emailstringpathāœ…The email address of the user to remove

Responses

āœ… 200 - Success

āš ļø 400 - Error - Not Associated

āš ļø 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

The unique identifier of the user

Example:

"f4b4e2f8-fe5e-4076-9e09-3424ff7f185f"

email
string<email>
required

The email address of the user to remove

Example:

"emma221999@gmail.com"

Response

Success

message
string
⌘I