Delete feature
DELETEhttps://euwest.api.elasticpath.com/v2/subscriptions/features/:feature_uuid
Remove a feature.
Request
Path Parameters
feature_uuid UUIDrequired
The unique identifier of a feature.
Responses
- 204
- 500
Success. The feature is removed.
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (auto)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
statusstringrequired
The HTTP response code of the error.
Example:
500
titlestringrequired
A brief summary of the error.
Example:
Internal server error
detailstring
Optional additional detail about the error.
Example:
An internal error has occurred.
metaobject
Additional supporting meta data for the error.
Example:
{"missing_ids":["e7d50bd5-1833-43c0-9848-f9d325b08be8"]}
{
"errors": [
{
"status": "500",
"title": "Internal server error",
"detail": "An internal error has occurred.",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500"
}
]
}
Authorization: http
name: BearerTokentype: httpscheme: 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/v2/subscriptions/features/:feature_uuid");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear