Delete a Custom Field
DELETEhttps://useast.api.elasticpath.com/v2/settings/extensions/custom-apis/:custom_api_id/fields/:custom_field_id
Delete a Custom Field
Request
Responses
- 204
- 400
- 404
- 500
No Content
Bad request. The request failed validation.
Not found. The requested entity does not exist.
Internal server error. There was a system failure in the platform.
Authorization: http
name: bearerAuthtype: 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://useast.api.elasticpath.com/v2/settings/extensions/custom-apis/:custom_api_id/fields/:custom_field_id");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear