PUT
/
iam
/
reselling
/
resellers
/
{resellerID}
/
notification_settings
/
{notificationSettingsId}
Update a reseller's notification settings
curl --request PUT \
  --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
notification_type
enum<string>
required

* deletion_request - Deletion Request * failed_login - Failed Login

Available options:
deletion_request,
failed_login
email
string<email>
required
Maximum length: 254
enabled
boolean

Response

id
integer
reseller
integer
notification_type
enum<string>

* deletion_request - Deletion Request * failed_login - Failed Login

Available options:
deletion_request,
failed_login
email
string<email>
Maximum length: 254
enabled
boolean