Deletes all releases
DELETEhttps://euwest.api.elasticpath.com/catalogs/:catalog_id/releases
Deletes all releases of the specified published catalog.
Request
Responses
- 204
- default
A 204 response indicates that the releases have been deleted.
Unexpected error.
Authorization: Authorization
name: Authorizationtype: httpin: headerscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://euwest.api.elasticpath.com/catalogs/:catalog_id/releases");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear