How to update an enterprise to remove the association to another enterprise or person? #6
Unanswered
lecoqlibre
asked this question in
Q&A
Replies: 1 comment
-
@mkllnk You should not use HTTP POST as it will create a new resource (unless you delete the old one). Instead, depending on the LDP server configuration, you could do a HTTP PUT of PATCH. The PUT will replace the whole resource while the PATCH is able to change some values. @simonLouvet made an example of a PATCH on a DFC CatalogItem here. The LDP Primer show an example of PUT. Further information can be found in the LDP recommendation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From slack message of @mkllnk: I want to update an enterprise to remove the association to another enterprise or person, do I need to set the whole list of associations except the one I want to delete? Or is there a way to delete an association without referring to the unchanged associations?
As example:
If I want to remove p1, is there any better way than a POST request without p1?
Slack Message
Beta Was this translation helpful? Give feedback.
All reactions