incident.io icon

incident.io

Interact with incident.io API

Actions76

Alert Attribute → Create

AI-generated

Summary

Create a new alert attribute defined by its properties.

Inputs

  • name (required) — Unique name of this attribute
  • type (required) — Engine resource name for this attribute
  • array (required) — Whether this attribute is an array
  • additionalFields — Additional fields to customize the alert attribute creation. Can include 'required' to specify if the attribute is mandatory.
  • requestOptions — Options for modifying the request, such as SSL and batching settings.

Output shape

no body — success/failure only

If the request is successful, it returns a success status; otherwise, an error will be raised.

Examples

Example 1: Create a new alert attribute for incident management.

Provide 'name', 'type', and 'array' parameters, and optionally include 'additionalFields' to set if the attribute is required.

Discussion