Delete the collection by UUID

Method: DELETE

URL: https://pim-client.wizart.ai/api/v2.1/collections/:collectionUuid/

Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…, Content-Type: application/json

Body:

{ "data": { "type": "collections", "id": "{{COLLECTION_UUID}}" } }

CURL:

curl --location --request DELETE 'https://pim-client.wizart.ai/api/v2.1/collections/:collectionUuid/' \ --header 'Authorization: Bearer <token>' \ --data '{ "data": { "type": "<string>", "id": "<string>" } }'
{ "message": "ok" }