Skip to main content
PATCH
Update a mass credit template

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

templateId
string
required

Body

application/json
name
string
Required string length: 1 - 80
Example:

"Platform outage - net loss, capped"

description
string
Maximum string length: 500
rules
object

How the credit is computed. Every field is optional (a template or the defaults fill the rest), except the window, which the request or the template must give.

selection
object

Optional: all or filter (a template cannot hold an account list)

Response

Updated

success
boolean
data
object