Skip to main content

bulkDisconnectHubLibraryResources

Remove multiple library resources from a hub in a single savepoint. Hard-deletes the hub_library_resource join rows (the resources themselves stay in the library) and runs under the caller's role so RLS enforces the workspace and admin checks.

bulkDisconnectHubLibraryResources(
input: BulkDisconnectHubLibraryResourcesInput!
): BulkDisconnectHubLibraryResourcesPayload

Arguments

bulkDisconnectHubLibraryResources.input ● BulkDisconnectHubLibraryResourcesInput! non-null input

The hub and the resources to disconnect.

Type

BulkDisconnectHubLibraryResourcesPayload object