remove_contents_from_content_group
Remove content ids from a content group.
remove_contents_from_content_group
Remove content ids from a content group.
Safety class: C · API type: portal · Min version: —
ConfinementClass C: mutates a GLOBAL content group (removes a membership only; does not delete the asset). Non-prod only.
Signatures
def remove_contents_from_content_group(sdk, content_group_id, content_ids):
"""Remove content ids from a content group; returns None."""
return sdk.remove_contents_from_content_group(content_group_id, content_ids)export async function removeContentsFromContentGroup(sdk, contentGroupId, contentIds) {
// Remove content ids from a content group.
return await sdk.removeContentsFromContentGroup(contentGroupId, contentIds);
}Parameters
| Parameter (Python) | Parameter (JS) | Type | Required | Notes |
|---|---|---|---|---|
sdk | sdk | Nomad_SDK | yes | |
content_group_id | contentGroupId | str | yes | e.g. <content-group-uuid> |
content_ids | contentIds | list[str] | yes | content ids to remove |
Returns
None — no body on success.
Errors
- 401 unauthenticated
- 404 group/content not found
- InvalidAPITypeException (admin session)
See also: Python ↔ JS naming map · Return shapes.
