Delete an export template attribute
Deletes an export template attribute. Only non-mandatory attributes can be deleted, and only internal users and admins can remove attributes from global export templates. **Publishing required.** This request stores a draft. The change becomes available in the ProductsUp platform only after you publish the export template with `POST /V1/export-templates/{id}/commit`.
Authorization
bearerAuth AuthorizationBearer <token>
ProductsUp Keycloak JWT bearer token.
In: header
Path Parameters
templateId*string
Export template id.
id*string
Export Template Attribute id.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://export-template-api.productsup.com/V1/export-templates/string/attributes/string"Empty
{
"errors": {
"message": "Unable to remove mandatory field."
}
}{
"errors": {
"message": "Resource access denied."
}
}{
"errors": {
"message": "Export template with id 456 not found."
}
}How is this guide?