Skip to main content

Replace a metadata group's membership with a selection

PUT 

/metadata-groups/:id/metadata/selection

Makes the group's membership exactly what an explicit id list or a metadata filter resolves to, minus excludeIds. The filter is resolved server-side, narrowed to the group's metadata type, and stored as a static list. Ids that are not active metadata are ignored, and a filter whose typeCode differs from the group's type resolves to nothing. A filter matching more than 10000 metadata is rejected with a 400. Because a replace also removes members, it needs both the metadata-groups write and delete scopes.

Request​

Responses​

Membership counts after the change