Update a specific workflow group by id
curl --request PUT \
--url https://api.rootly.com/v1/workflow_groups/{id} \
--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": "5387d976-c6f0-4c13-92c3-6083f4e9fba8",
"type": "workflow_groups",
"attributes": {
"kind": "incident",
"name": "Test update",
"description": null,
"icon": "📁",
"slug": "default-workflow-group-incident",
"expanded": true,
"position": 10
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow group updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/workflow_groups/{id} \
--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": "5387d976-c6f0-4c13-92c3-6083f4e9fba8",
"type": "workflow_groups",
"attributes": {
"kind": "incident",
"name": "Test update",
"description": null,
"icon": "📁",
"slug": "default-workflow-group-incident",
"expanded": true,
"position": 10
}
}
}