Skip to content

Bulk unmap category mappings from a template

Request

Bulk unmap multiple category mappings from a template within the organization.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

Bodyapplication/jsonrequired

The request body containing the template and category mapping IDs to unmap.

templatestring

The ID or name of the template to unmap the category mappings from.

categoryMappingIdArray of strings

An array of unique IDs of the category mappings to unmap from the template.

curl -i -X POST \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/mapping/unmap/template' \
  -H 'Content-Type: application/json' \
  -b cc.session=YOUR_API_KEY_HERE \
  -d '{
    "template": "string",
    "categoryMappingId": [
      "string"
    ]
  }'

Responses

Category mappings successfully unmapped from the template.

Bodyapplication/json
successboolean
Response
{ "success": true }