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": "f5d81779-e0ab-43fe-aee2-f5363b3b3a5c",
"type": "incident_permission_set_resources",
"attributes": {
"incident_permission_set_id": "c5548dc1-723b-40b6-ada0-47466176f237",
"kind": "incident_types",
"private": false,
"resource_id": "9bb73855-139f-4d0f-a863-dc59f5563543",
"resource_type": "IncidentType",
"updated_at": "2025-08-04T19:15:28.363-07:00",
"created_at": "2025-08-04T19:15:28.363-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": "f5d81779-e0ab-43fe-aee2-f5363b3b3a5c",
"type": "incident_permission_set_resources",
"attributes": {
"incident_permission_set_id": "c5548dc1-723b-40b6-ada0-47466176f237",
"kind": "incident_types",
"private": false,
"resource_id": "9bb73855-139f-4d0f-a863-dc59f5563543",
"resource_type": "IncidentType",
"updated_at": "2025-08-04T19:15:28.363-07:00",
"created_at": "2025-08-04T19:15:28.363-07:00"
}
}
}