Delete User Email

DELETE /v1/auth/users/emails/{email_id}/delete

Delete an email from the associated user.

HTTP Request

DELETE /v1/auth/users/emails/{email_id}/delete

Returns

A successful response returns an object with message and user_id properties.

Responses

  • 200 object
    • message string Required

      Success message of the action.

      Minimum length is 1.

    • user_id string Required

      Unique User ID of the deleted user email.

      Minimum length is 1.

DELETE /v1/auth/users/emails/{email_id}/delete
curl \
 -X DELETE https://api.streambird.io/v1/auth/users/emails/{email_id}/delete \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
{
  "message": "Successfully deleted user email",
  "user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2"
}