Creates a new incident_permission_set_resource from provided data
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": "a6eb3244-a72f-4e0f-979b-7fabab048aff",
"type": "incident_permission_set_resources",
"attributes": {
"incident_permission_set_id": "da0196bc-7dc4-48df-8698-21cf2e419b41",
"kind": "incident_types",
"private": false,
"resource_id": "abd5b3c6-a7e8-4e38-b3dd-bd5a28991f22",
"resource_type": "IncidentType",
"updated_at": "2025-08-26T21:14:12.534-07:00",
"created_at": "2025-08-26T21:14:12.534-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_permission_set_resource created
The response is of type object
.
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": "a6eb3244-a72f-4e0f-979b-7fabab048aff",
"type": "incident_permission_set_resources",
"attributes": {
"incident_permission_set_id": "da0196bc-7dc4-48df-8698-21cf2e419b41",
"kind": "incident_types",
"private": false,
"resource_id": "abd5b3c6-a7e8-4e38-b3dd-bd5a28991f22",
"resource_type": "IncidentType",
"updated_at": "2025-08-26T21:14:12.534-07:00",
"created_at": "2025-08-26T21:14:12.534-07:00"
}
}
}