Updates a communications type
curl --request PATCH \
--url https://api.rootly.com/v1/communications/types/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "371007cf-fe2f-48a3-a173-7df679782b68",
"type": "communications_types",
"attributes": {
"name": "Updated Type Name",
"slug": "ugqu5",
"description": "Updated description",
"color": "#00FF00",
"position": 1,
"created_at": "2025-07-29T13:39:06.925-07:00",
"updated_at": "2025-07-29T13:39:09.096-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Communications Type ID
communications type updated
The response is of type object
.
curl --request PATCH \
--url https://api.rootly.com/v1/communications/types/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "communications_types",
"attributes": {
"name": "<string>",
"description": "<string>",
"color": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "371007cf-fe2f-48a3-a173-7df679782b68",
"type": "communications_types",
"attributes": {
"name": "Updated Type Name",
"slug": "ugqu5",
"description": "Updated description",
"color": "#00FF00",
"position": 1,
"created_at": "2025-07-29T13:39:06.925-07:00",
"updated_at": "2025-07-29T13:39:09.096-07:00",
"communication_groups": [],
"communication_templates": []
}
}
}