Delete an alert rule

Requires the ALERT_RULE.DELETE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version
resourceIdstringRequiredDefaults to
The ID of the resource to be requested.

Headers

x-platform-idstringOptional
Platform ID.

Response

OK
referencestringformat: "^\S+$"0-256 characters
A custom reference assigned to the alert.
object_typestring or nullRead-only
idstring or nullRead-only
namestring or nullformat: "^.*$"0-256 characters
A custom name assigned to the alert.
descriptionstring or nullformat: "^.*$"0-256 characters
statusenum or null
The status of the AlertRule. DEPRECATED is not supported.
Allowed values:
customer_idslist of strings or null
The IDs of the customers linked to the alert.
customerslist of objects or nullRead-only
typeenum or null
The type of the the alert.
Allowed values:
trigger_typeenum or null
Allowed values:
entitlementobject
The specification of the entitlement for the alert, can only be specified when type is ENTITLEMENT
invoiceobject
The specification of the invoice for the alert, can only be specified when type is INVOICE

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error