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": "0e621a3d-8492-4b07-98bd-837fd6932aa6",
"type": "catalog_fields",
"attributes": {
"catalog_id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"name": "Updated name",
"slug": "test",
"kind": "reference",
"kind_catalog_id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"multiple": false,
"position": 1,
"deleted_at": null,
"updated_at": "2025-08-04T19:12:33.412-07:00",
"created_at": "2025-08-04T19:12:32.803-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"type": "catalogs"
}
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
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": "0e621a3d-8492-4b07-98bd-837fd6932aa6",
"type": "catalog_fields",
"attributes": {
"catalog_id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"name": "Updated name",
"slug": "test",
"kind": "reference",
"kind_catalog_id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"multiple": false,
"position": 1,
"deleted_at": null,
"updated_at": "2025-08-04T19:12:33.412-07:00",
"created_at": "2025-08-04T19:12:32.803-07:00"
},
"relationships": {
"catalog": {
"data": {
"id": "abac226f-203f-4bf1-8b2c-20adf827fa87",
"type": "catalogs"
}
}
}
}
}