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": "269ad1c2-c647-4c1b-a757-41fc4f1e0fa4",
    "type": "custom_forms",
    "attributes": {
      "slug": "voluptatum-vero-veniam-excepturi",
      "name": "Test Update",
      "description": "Culpa saepe praesentium dolorum.",
      "enabled": true,
      "command": "voluptatum-vero-veniam-excepturi",
      "created_at": "2025-05-08T00:17:25.781-07:00",
      "updated_at": "2025-05-08T00:17:29.683-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.