cURL
curl --request POST \ --url https://api.gcore.com/iam/reselling/resellers/{resellerID}/notification_settings \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "notification_type": "deletion_request", "email": "jsmith@example.com", "enabled": true }'
{ "id": 123, "reseller": 123, "notification_type": "deletion_request", "email": "jsmith@example.com", "enabled": true }
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
Reseller ID.
The response is of type object.
object
Was this page helpful?