Deletes all releases
DELETEhttps://euwest.api.elasticpath.com/pcm/catalogs/:catalog_id/releases
Deletes all releases of the specified published catalog.
Request
Path Parameters
catalog_id stringrequired
The catalog ID.
Responses
- 204
- default
A 204 response indicates that the releases have been deleted.
Unexpected error.
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"detail": "not processable",
"status": "422",
"title": "There was a problem processing your request."
}
]
}
Authorization: Authorization
name: Authorizationtype: httpin: headerscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://euwest.api.elasticpath.com/pcm/catalogs/:catalog_id/releases' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear