Delete the link between two service records. This does not delete either service record, only the connection between them. The link is found whichever relationship it has, and whichever of the two service records it was added from; one call removes one link.
Unlinking a parent or child link clears the child's parent. The child keeps the status it took from its parent when it was linked. Two service records that are not linked (a service record and itself included) are answered 204 with nothing changed, so the call can be repeated. Answers 400 when the related record ID is not a positive 32-bit integer, and 404 when either service record does not exist or the caller cannot view the related one. Unlinking needs permission to view the service record in the path and to edit both service records; without it the call answers 403 and nothing is changed. A caller who cannot edit the service record in the path gets 403 also when the two service records are not linked.
204Service record unlinked from the service record.
