Change an object schema
Changes an object type with a JSON Merge Patch (RFC 7396), sent as application/merge-patch+json or application/json. The body is a patch over the object as GET /workspaces/{workspace}/schemas returns it: a null property value archives the field and a null option removes it. A null on a relationship field deletes it for good, with its counterpart on the related object and the links stored between records, in the same change. It cannot be restored. Only a workspace permission admin can delete a relationship that grants record access. A patch with no null applies immediately and returns 204 with no body. A patch with a null runs as a task and returns 202 with the task to poll. Only a workspace permission admin can change the default visibility or which fields grant record access, and an unchanged value is allowed for anyone. The object's allOf is read-only: send it back unchanged or leave it out, since a change is rejected with a 422. Edit rules with PATCH /workspaces/{workspace}/schemas/objects/{object}/rules. Only the touched properties are affected; concurrent edits to other properties are preserved. A concurrent schema change returns 409. Adding or tightening a value constraint, such as minLength, maximum, pattern, or an enforced format, on an existing field is rejected with a 422, because stored values may break it. Only Text and Multiline text, or Number and Currency convert into each other. Any other field type change, or adding or removing a number field's tier bands, is rejected with a 422. A read-only object, such as the Lead Finder people and companies, rejects any change with a 422.
API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.
In: header
Path Parameters
The workspace slug — the {slug} segment of your Clarify workspace URL.
The object type: a built-in entity (person, company, deal, …) or a custom object (c_*).
Query Parameters
When true, suppresses in-app and Slack notifications for this mutation and batches its live updates, so open views can lag by up to 20 seconds.
Header Parameters
The API version for this request. Send 2026-10 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.
Request Body
application/merge-patch+json
A JSON Merge Patch (RFC 7396) over the object as GET /workspaces/{workspace}/schemas returns it.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/workspaces/string/schemas/objects/string" \ -H "clarify-version: 2026-10" \ -H "Content-Type: application/merge-patch+json" \ -d '<properties> <status> <title>Project status</title> </status> </properties>'{ "data": { "type": "async-task", "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", "attributes": { "_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d", "user_id": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81", "type": "schema_modification", "progress": 0, "total": null, "metadata": { "entity": "c_project" }, "queued_at": "2026-01-15T09:30:00.000Z", "started_at": null, "completed_at": null, "failed_at": null, "error_code": null, "_created_at": "2026-01-15T09:30:00.000Z", "_updated_at": "2026-01-15T09:30:00.000Z" } }}Change object rules
Changes the conditional-required rules of an object type with a JSON Merge Patch (RFC 7396), sent as `application/merge-patch+json` or `application/json`. The body is a patch over `GET /workspaces/{workspace}/schemas/objects/{object}/rules`: a key is a rule id, an object value adds the rule or merges into it, and `null` removes it. The change applies immediately and returns 204 with no body. A rule id is 1 to 64 letters, digits, underscores, or hyphens.
Replace an object schema
Replaces the full JSON Schema for an object type with the request body, whose `$id` must match the object in the path. Only Text and Multiline text, or Number and Currency convert into each other. Any other field type change, or adding or removing a number field's tier bands, is rejected with a 422. A read-only object, such as the Lead Finder people and companies, rejects any change with a 422. The change is applied asynchronously: the response returns a task you can poll to track progress.