Skip to content

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

ParameterTypeDefaultDescription
workspace_idrequiredstring (uuid)—The workspace to create the group in.
namerequiredstring1–∞ chars—The group's name. Must be unique within the workspace.
rolestring—Optional built-in role to grant every member, by key. Deprecated: use role_id.
role_idstring (uuid)—ID of an optional role to grant every member, custom included. Use list_roles to find one.