Delete task custom field
Deletes a task custom field from the workspace.
Important considerations:
- The field will be removed from all task types where it was assigned
- Existing task data in this field will be lost
- This action cannot be undone
Note: Consider removing the field from task types first if you want to preserve historical data.
DELETE
/administration/task-settings/custom-fields/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200Task 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/task-settings/custom-fields/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/task-settings/custom-fields/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/administration/task-settings/custom-fields/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
Task custom field deleted successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions