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