Delete a curation custom field
DELETE
/api/v3/curations/custom-fields/{fieldId}
const url = 'https://api.tryletterhead.com/api/v3/curations/custom-fields/1?api=true';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://api.tryletterhead.com/api/v3/curations/custom-fields/1?api=true' \ --header 'Authorization: Bearer <token>'Delete a curation custom field definition. Existing curations keep whatever value was already stored under it, but the field no longer appears in List curation custom fields and can no longer be set or mapped.
Authorizations
Section titled βAuthorizations βParameters
Section titled β Parameters βPath Parameters
Section titled βPath Parameters β fieldId
required
integer
The custom fieldβs identifier, from List curation custom fields.
Query Parameters
Section titled βQuery Parameters β api
required
boolean
Required. Set to true to authenticate with your company API key rather than a signed-in session.
Responses
Section titled β Responses βCustom field deleted
Still can’t find what you need? Contact support.