Creates a new incident_type from provided data
curl --request POST \
--url https://api.rootly.com/v1/incident_types \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "incident_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
'{
"data": {
"id": "<string>",
"type": "incident_types",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"slug": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_types Show child attributes
The name of the incident type
The description of the incident type
The hex color of the incident type
Position of the incident type
Emails to attach to the incident type
incident_type created
Show child attributes
Unique ID of the incident type
incident_types Show child attributes
The name of the incident type
Date of creation
Date of last update
The slug of the incident type
The description of the incident type
The hex color of the incident type
Position of the incident type
Emails to attach to the incident type
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/incident_types \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "incident_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}
'{
"data": {
"id": "<string>",
"type": "incident_types",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"slug": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123,
"notify_emails": [
"<string>"
],
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
]
}
}
}