PATCH /users/:id/identity/confirm_email_change
Update the email of the user
Path parameters
-
ID of the resource to fetch
Body Required
PATCH /users/{id}/identity/confirm_email_change
curl \
-X PATCH https://api.cosmily.com/api/v1/users/{id}/identity/confirm_email_change \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"reset_token":"string"}'
Request example
{
"reset_token": "string"
}
Request examples
{
"reset_token": "string"
}
Response examples (200)
{
"new_email": "jane_doe@cosmily.com"
}
Response examples (200)
{
"new_email": "jane_doe@cosmily.com"
}