Delete a field
DELETE/objects/:object_id/fields/:field_id
Delete a field and the values it holds on every record. Scope objects_admin.
When other fields depend on it — lookups that copy it, counts over it, the inverse
side of a relation — the first call answers 409 field_has_dependents and lists
them in details.dependents; repeat with ?confirm=true to delete them together.
System fields and an object's primary field cannot be deleted.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Field deleted.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
The request was malformed, or a parameter was rejected.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No token, an expired token, or a credential that has been revoked.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
Refused. Either the credential does not hold the scope this endpoint needs (code: insufficient_scope), or the account's IP allow-list does not include the calling address (code: ip_not_allowed).
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No such resource in this account.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
The request was valid but conflicts with the current state.
Response Headers
Correlation id for this request. Quote it when reporting a problem.