deleteRepoCustomField
Delete a custom field. One that a policy reads is refused with SchemaChangeBreaksPolicy. Deleting a model's last custom field deletes the model and every record in it, as deleteRepoCustomModel does; to replace a model's only custom field, create the new one first.
DELETE
/repos/{repo_id}/branches/{branch}/custom-models/{model_api_name}/fields/{field_api_name}Path parameters
Returns
204
<No Content>
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | CustomModelNotFound | CustomFieldNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- CustomModelNotFoundEncoded
- CustomFieldNotFoundEncoded
- RepoNotFoundEncoded
409
InstalledSchemaReadOnly | SchemaChangeBreaksPolicy | RecordInUse | RepoArchived
JSON
One of the following:
- InstalledSchemaReadOnlyEncoded
- SchemaChangeBreaksPolicyEncoded
- RecordInUseEncoded
- RepoArchivedEncoded
503
RepoBusy | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- RepoBusyEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded