Skip to content

How to update an enterprise to remove the association to another enterprise or person? #5

Description

@lecoqlibre

<@U01EGSNPQH2> If 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:

"@id": "...", "@type": "Enterprise",
"affiliatedBy": ["p1", "p2],
}```
If I want to remove p1, is there any better way than a POST request without p1?
```{
"@id": "...", "@type": "Enterprise",
"affiliatedBy": ["p2],
}```

[Slack Message](https://datafoodconsortium.slack.com/archives/C024VS581SA/p1700795382801079)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions