create_group
Create a workspace group, optionally granting its members a role.
Members added to a role-bearing group inherit that role's permissions. Requires
workspace billing-admin permission.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
workspace_idrequired | string (uuid) | — | The workspace to create the group in. |
namerequired | string1–∞ chars | — | The group's name. Must be unique within the workspace. |
role | string | — | Optional built-in role to grant every member, by key. Deprecated: use role_id. |
role_id | string (uuid) | — | ID of an optional role to grant every member, custom included. Use list_roles to find one. |