Delete a custom field definition
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.Delete a custom field definition.
Warning: This will remove all values associated with this field from all documents/contacts.
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringIdempotency-Key?stringMakes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
length <= 255200
application/json- response
id*stringUnique custom field identifier
name*stringCustom field name
type*stringField type: DOCUMENT or CONTACT
"DOCUMENT""CONTACT"inputType*stringInput type: TEXT, NUMBER, DATE, CHECKBOX, SELECT, TEXTAREA, EMAIL, PHONE, or URL
"TEXT""NUMBER""DATE""EMAIL""PHONE""URL""BOOLEAN""SELECT""JSON""TEXTAREA"defaultValue*|Default value for this field
required*booleanWhether this field is required
options*|Options for SELECT type fields as a JSON-encoded string array, for example ["Small","Large"]
createdAt*stringDate and time when custom field was created
date-timeupdatedAt*stringDate and time when custom field was last updated
date-timecurl -X DELETE 'https://app.sajn.se/api/v1/custom-fields/string' \ -H 'authorization: string'{ "id": "string", "name": "string", "type": "DOCUMENT", "inputType": "TEXT", "defaultValue": "string", "required": true, "options": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Was this page helpful?