Delete references
patch/references
Delete a list of references. Uses a JSON Patch body with "op" : "remove"
on a specific reference 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.
references
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"}]
Name | Type | Required | Description |
---|---|---|---|
op | string | true | Operation set to 'remove'. Allowed value: remove |
path | string | true | The id of the resource to remove. |
Status | Meaning | Description | ||
---|---|---|---|---|
204 | No Content | Ok. The references were deleted. | ||
400 | Bad Request | Bad request (the request is not well-formed). | Schema |