/content/bulk_actionsRun a bulk action on Knowledge Hub content
Applies an asynchronous bulk action to up to 1,000 Knowledge Hub content items. Choose an action and provide content IDs of supported types; actions can publish, unpublish, delete, change availability or audience, or update tags. The request is enqueued for background processing, and items with unsupported types for the selected action may be silently dropped.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Bulk action request. Provide the required action and content_ids, plus action-specific fields when needed.
One documented failure
unauthorizedAccess Token Invalid
A 401 is returned when the request is unauthenticated. A 403 is returned when the token lacks the write_content OAuth scope. A 422 is returned when the action, content IDs, or action-specific parameters are invalid. action and content_ids are required, and content_ids can contain at most 1,000 items; each item must include type and id. update_tags requires at least one of add_tag_ids or remove_tag_ids, and the supplied tag IDs must reference existing, non-archived tags.