PATCH
/
iam
/
reselling
/
resellers
/
{resellerID}
/
notification_settings
/
{notificationSettingsId}
Update a reseller's notification settings
curl --request PATCH \
  --url https://api.gcore.com/iam/reselling/resellers/{resellerID}/notification_settings/{notificationSettingsId} \
  --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
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

resellerId
integer
required

Reseller ID.

NotificationSettingsId
integer
required

Notification settings ID.

Body

application/json

Response

200
application/json

The response is of type object.