Update an alert rule
Requires the ALERT_RULE.UPDATE 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
version
version
resourceId
The ID of the resource to be requested.
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
reference
A custom reference assigned to the alert.
name
A custom name assigned to the alert.
description
status
The status of the AlertRule. DEPRECATED is not supported.
Allowed values:
customer_ids
The IDs of the customers linked to the alert.
type
The type of the the alert.
Allowed values:
trigger_type
Allowed values:
entitlement
The specification of the entitlement for the alert, can only be specified when type is ENTITLEMENT
invoice
The specification of the invoice for the alert, can only be specified when type is INVOICE
Response
OK
reference
A custom reference assigned to the alert.
object_type
id
name
A custom name assigned to the alert.
description
status
The status of the AlertRule. DEPRECATED is not supported.
Allowed values:
customer_ids
The IDs of the customers linked to the alert.
customers
type
The type of the the alert.
Allowed values:
trigger_type
Allowed values:
entitlement
The specification of the entitlement for the alert, can only be specified when type is ENTITLEMENT
invoice
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