cURL
curl --request PUT \ --url https://api.gcore.com/iam/users/{userId}/email \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "new_email": "<string>", "password": "<string>" }'
{ "new_email": "<string>" }
Route for update user’s email address
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
User's ID.
OK
The response is of type object.
object
Was this page helpful?