beta.admin.user-groups

Provision Group To Workspace

Changed on

Deprecated: provision all users from a user group to a workspace with a specific role.

Use POST /user-groups/{group_uuid}/workspaces with role_names to assign the group to a workspace, and PATCH /user-groups/{group_uuid}/workspaces/{workspace_uuid} to change the roles of an existing assignment.

post/v1/admin/user-groups/provision-workspace

Request

Request body

user_group_uuidstring uuid required

User group ID to provision.

workspace_uuidstring uuid required

Workspace ID where the group is provisioned.

workspace_role_name'billing' | 'user' | 'contributor' | 'dev' | 'dev_contributor' | 'mistral_code_user' | 'cloud_user' | 'mistral_cloud_admin' | 'workspace_contributor' | 'workspace_admin' | 'observability_viewer' | 'workflow_executor' | 'secret_revealer' | 'member' nullable

Workspace role name to assign to the group. Mutually exclusive with 'workspace_role'.

Response

No Content

Changes

    • info

      endpoint deprecated

    • info

      added the new 7e69e493-caf6-4671-af60-84951754d9fc enum value to the request property /

    • info

      added the new 94ef59cf-56bf-4383-9dd6-1fee77d370af enum value to the request property /

    • info

      added the new member enum value to the request property /

    • info

      added the new secret_revealer enum value to the request property /

    • info

      added the new 348fc8da-f6da-4464-ad3e-af7bc137e221 enum value to the request property /

    • info

      added the new mistral_cloud_admin enum value to the request property /