Skip to main content

Delete a Custom API Entry using the extensions endpoint

DELETE 

https://useast.api.elasticpath.com/v2/extensions/:custom_api_slug/:custom_api_entry_id

Delete a Custom API Entry using the extensions endpoint

Request

Path Parameters

    custom_api_slug stringrequired

    The slug of the Custom API.

    Example: wishlists
    custom_api_entry_id uuidrequired

    The id of the Custom Entry.

    Example: 7e067539-6f6c-46e1-8c55-940031b36c6a

Header Parameters

    If-Match string

    When If-Match is set, the value must be W/"{etag_id}". If the value of the header matches, the request completes. If not, HTTP 412 Precondition Failed is returned.

Responses

No Content

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://useast.api.elasticpath.com/v2/extensions/:custom_api_slug/:custom_api_entry_id");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— pathrequired
— pathrequired
— header
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.