Delete relationships

patch/relationships
Internal-Use Only

Delete a list of relationships. Uses a JSON Patch body with "op" : "remove" on a specific relationship ID. Clients which do not support PATCH can use POST and specify a query parameter of ?_method=PATCH. All referenced resources must exist for the PATCH to be applied.

Request Samples

1

Response Samples

1No example avaliable

Request Body

The relationships.

A collection of resources to remove.

Example:
[{"op":"remove","path":"/873f4dd0-14b1-4aa1-85d6-178c24171de"},{"op":"remove","path":"/57657df4-f11b-46d7-a551-060b1605ee4e"},{"op":"remove","path":"/73b889d8-6a06-47df-a368-4b1e91cf39da"}]
NameTypeRequiredDescription
op
string
true

Operation set to 'remove'.

Allowed value:
remove
path
string
true

The id of the resource to remove.

Responses

StatusMeaningDescription
204No ContentOk. The relationships were deleted.
400Bad RequestBad request (the request is not well-formed).Schema