useShareKB
useShareKB():
UseMutationResult<DocumentPermissionGrant,Error, {kbId:string;permission:"viewer"|"editor"|"owner";userId:string; },unknown>
Hook to share a knowledge base with another user (owner only)
Returns
Section titled “Returns”UseMutationResult<DocumentPermissionGrant, Error, { kbId: string; permission: "viewer" | "editor" | "owner"; userId: string; }, unknown>