PUT
/
v1
/
custom_forms
/
{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": "fcb4fd22-37ee-4616-ab1e-56bd9e530afe",
    "type": "custom_forms",
    "attributes": {
      "slug": "quidem-est-molestiae-qui",
      "name": "Test Update",
      "description": "Aperiam et quam veniam.",
      "enabled": true,
      "command": "quidem-est-molestiae-qui",
      "created_at": "2025-05-29T17:41:22.104-07:00",
      "updated_at": "2025-05-29T17:41:26.434-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json

Response

200
application/vnd.api+json

custom_form updated

The response is of type object.