The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { BulkAddWorkspaceMembersRequest } from "@openrouter/sdk/models";
let value: BulkAddWorkspaceMembersRequest = {
userIds: [
"user_abc123",
"user_def456",
],
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
userIds | string[] | :heavy_check_mark: | List of user IDs to add to the workspace. Members are assigned the same role they hold in the organization. | [ “user_abc123”, “user_def456” ] |