Update a specific catalog_field by id
curl --request PUT \
--url https://api.rootly.com/v1/catalog_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "catalog_fields",
"attributes": {
"name": "<string>",
"slug": "<string>",
"kind": "text",
"kind_catalog_id": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "c14d37c3-5343-44ec-a49d-a3d5de08fed6",
"type": "catalog_fields",
"attributes": {
"catalog_id": "5778d723-80a6-498c-afce-354fa38d0970",
"name": "Updated name",
"slug": "test",
"kind": "reference",
"kind_catalog_id": "5778d723-80a6-498c-afce-354fa38d0970",
"multiple": false,
"position": 1,
"deleted_at": null,
"updated_at": "2025-08-26T21:11:13.929-07:00",
"created_at": "2025-08-26T21:11:13.220-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "5778d723-80a6-498c-afce-354fa38d0970",
"type": "catalogs"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
catalog_field updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/catalog_fields/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "catalog_fields",
"attributes": {
"name": "<string>",
"slug": "<string>",
"kind": "text",
"kind_catalog_id": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "c14d37c3-5343-44ec-a49d-a3d5de08fed6",
"type": "catalog_fields",
"attributes": {
"catalog_id": "5778d723-80a6-498c-afce-354fa38d0970",
"name": "Updated name",
"slug": "test",
"kind": "reference",
"kind_catalog_id": "5778d723-80a6-498c-afce-354fa38d0970",
"multiple": false,
"position": 1,
"deleted_at": null,
"updated_at": "2025-08-26T21:11:13.929-07:00",
"created_at": "2025-08-26T21:11:13.220-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "5778d723-80a6-498c-afce-354fa38d0970",
"type": "catalogs"
}
}
}
}
}