update_a_schema
Update an existing custom object schema by modifying its fields, labels, or description in ActiveCampaign.
Instructions
🟡 WRITE · updates data · Custom Objects · PUT /customObjects/schemas/{schemaId}
Update a schema
Modifies an existing record in place. Idempotent.
Make an update to a given schema.
To delete a schema field, reference the field delete endpoint: https://developers.activecampaign.com/reference/delete-a-field-1
Users are encouraged to leverage the ?showFields=all query parameter when programmatically creating new schema fields, to ensure field id uniqueness. Fields that have been deleted will contain a status: marked_for_deletion attribute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (application/json). | |
| schemaId | Yes | Id of Schema being updated | |
| showFields | No | Toggle which fields are shown in the response body of a schema (if there hidden due to e.g. recently being deleted). Omit this parameter entirely to hide fields by default. | all |
| validateOnly | No | When set to `true` the API will validate the schema update without saving changes |