POST
/
v1
/
incident_permission_sets
/
{incident_permission_set_id}
/
resources
curl --request POST \
  --url https://api.rootly.com/v1/incident_permission_sets/{incident_permission_set_id}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_permission_set_resources",
    "attributes": {
      "incident_permission_set_id": "<string>",
      "kind": "severities",
      "private": true,
      "resource_id": "<string>",
      "resource_type": "<string>",
      "severity_params": {
        "fully_enabled": true,
        "create_enabled": false,
        "applies_to_unassigned": true,
        "severity_ids": [
          "<string>"
        ]
      }
    }
  }
}'
{
  "data": {
    "id": "0e0e753c-0ed3-44e3-a86b-a475f99aad56",
    "type": "incident_permission_set_resources",
    "attributes": {
      "incident_permission_set_id": "d80b2862-3abf-428a-b5e2-7149831acef8",
      "kind": "incident_types",
      "private": false,
      "resource_id": "5ca60b2d-2529-4628-94cd-0bd512e6a159",
      "resource_type": "IncidentType",
      "updated_at": "2025-05-08T00:20:53.368-07:00",
      "created_at": "2025-05-08T00:20:53.368-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_permission_set_id
string
required

Body

application/vnd.api+json

Response

201
application/vnd.api+json
incident_permission_set_resource created

The response is of type object.