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": "3f76daa8-13ba-423c-8751-aaa648ecb467",
    "type": "incident_permission_set_resources",
    "attributes": {
      "incident_permission_set_id": "af675633-3516-413b-b90e-cf2dc540ecee",
      "kind": "incident_types",
      "private": false,
      "resource_id": "86e3fa70-bb3a-4069-81e0-f8ae5033e68c",
      "resource_type": "IncidentType",
      "updated_at": "2025-03-28T23:01:46.817-07:00",
      "created_at": "2025-03-28T23:01:46.817-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
data
object
required

Response

201
application/vnd.api+json
incident_permission_set_resource created
data
object
required