# Bind a library to a workspace Creates a binding between a library and a workspace, allowing the workspace to access the library's resources. Endpoint: POST /accounts/{accountId}/workspaces/{workspaceId}/libraries Version: 1.0.0 Security: bearerAuth ## Path parameters: - `accountId` (string, required) Short account ID with scd- prefix Example: "scd-k2j8n4m1" - `workspaceId` (string, required) Short workspace ID with sws- prefix Example: "sws-x9p3q7r5" ## Request fields (application/json): - `libraryId` (string, required) The ID of the library to bind to the workspace Example: "123e4567-e89b-12d3-a456-426614174001" ## Response 201 fields (application/json): - `libraryId` (string, required) Example: "123e4567-e89b-12d3-a456-426614174001" - `workspaceId` (string, required) Example: "sws-x9p3q7r5" - `createdAt` (string, required) Example: "2024-01-15T11:00:00Z" ## Response 400 fields ## Response 401 fields ## Response 404 fields