Creates a new workflow group from provided data
curl --request POST \
--url https://api.rootly.com/v1/workflow_groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_groups",
"attributes": {
"kind": "simple",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"expanded": true,
"position": 123
}
}
}'
{
"data": {
"id": "338e9dc6-9835-49c6-9998-c1283875b7a3",
"type": "workflow_groups",
"attributes": {
"kind": "incident",
"name": "Test",
"description": null,
"icon": "📁",
"slug": "test-incident",
"expanded": true,
"position": 1
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow group created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/workflow_groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_groups",
"attributes": {
"kind": "simple",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"expanded": true,
"position": 123
}
}
}'
{
"data": {
"id": "338e9dc6-9835-49c6-9998-c1283875b7a3",
"type": "workflow_groups",
"attributes": {
"kind": "incident",
"name": "Test",
"description": null,
"icon": "📁",
"slug": "test-incident",
"expanded": true,
"position": 1
}
}
}