Delete an Entry Relationship
DELETEhttps://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries/:flowEntryID/relationships/:flowFieldSlug
- In Commerce, deletes an entry relationship to one or more resources.
- In Product Experience Manager, deletes an entry relationship with the product to which you want to associate the template.
Request
Responses
- 204
- 404
- 500
No Content
Bad request. Not Found.
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://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries/:flowEntryID/relationships/:flowFieldSlug");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear