Delete organization custom field
Deletes an organization custom field using soft delete (marked as deleted but not permanently removed).
Important considerations:
- The field will no longer appear in organization forms
- Existing organization data stored in this field will be retained but not displayed
- Deleted fields can be restored using the restore defaults endpoint
Note: This operation requires workspace settings management permission. Consider exporting data before deleting fields if you need to preserve historical information.
DELETE
/administration/organization-settings/custom-fields/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200Organization custom field deleted successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/organization-settings/custom-fields/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/organization-settings/custom-fields/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/administration/organization-settings/custom-fields/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
Organization custom field deleted successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions