PUT
/
iam
/
users
/
{userId}
/
email
curl --request PUT \
  --url https://api.gcore.com/iam/users/{userId}/email \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "new_email": "<string>",
  "password": "<string>"
}'
{
  "new_email": "<string>"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

userId
integer
required

User's ID.

Body

application/json

Response

200
application/json

OK

The response is of type object.