Update a specific custom form by id
curl --request PUT \
--url https://api.rootly.com/v1/custom_forms/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_forms",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"enabled": true,
"command": "<string>"
}
}
}'
{
"data": {
"id": "108fec0f-f2d9-49bc-b6e8-670996accb70",
"type": "custom_forms",
"attributes": {
"slug": "temporibus-maxime-dolore-non",
"name": "Test Update",
"description": "Et ut minus non.",
"enabled": true,
"command": "temporibus-maxime-dolore-non",
"created_at": "2025-07-25T22:35:57.112-07:00",
"updated_at": "2025-07-25T22:36:00.111-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
custom_form updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/custom_forms/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_forms",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"enabled": true,
"command": "<string>"
}
}
}'
{
"data": {
"id": "108fec0f-f2d9-49bc-b6e8-670996accb70",
"type": "custom_forms",
"attributes": {
"slug": "temporibus-maxime-dolore-non",
"name": "Test Update",
"description": "Et ut minus non.",
"enabled": true,
"command": "temporibus-maxime-dolore-non",
"created_at": "2025-07-25T22:35:57.112-07:00",
"updated_at": "2025-07-25T22:36:00.111-07:00"
}
}
}