Delete a Hierarchy
DELETE
Delete a Hierarchy
https://api.moltin.com/pcm/hierarchies/:hierarchyId
Deletes the specified hierarchy and all its children.
Parameters
Path parameters
Name | Required | Type | Description |
---|---|---|---|
hierarchyId | Required | string | The unique identifier of the hierarchy. |
Headers
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Example
curl -X DELETE https://api.moltin.com/pcm/hierarchies/0e119de2-5fb0-4bca-9b84-b3fc6c903007 \
-H "Authorization: Bearer XXXX" \
Response Example
204 No Content