---
title: "Provision Group To Workspace"
method: POST
path: "/v1/admin/user-groups/provision-workspace"
tags: ["beta.admin.user-groups"]
---

# Provision Group To Workspace

`POST /v1/admin/user-groups/provision-workspace`

Provision all users from a user group to a workspace with a specific role.

## Request body

- AdminProvisionGroupToWorkspaceIn
  - `user_group_uuid` string, uuid, required — User group ID to provision.
  - `workspace_uuid` string, uuid, required — Workspace ID where the group is provisioned.
  - `workspace_role` union — Workspace role value to assign to the group. Mutually exclusive with 'workspace_role_name'.
    - 'A' | 'M'
    - 'd7ea77c5-9260-41d0-ab26-52b5add3ee56' | '48436751-ee56-44bd-8a2d-712233977821' | '375cd0db-3bbe-4b79-80f3-954ccf04f3d1' | '578584f1-4319-4c88-9948-38a5184483b6' | 'd79b3027-4eb2-4521-8722-825acfee7d8b' | '252a0825-40b9-4b98-be80-7658956f13e9' | '17aa61c5-1c61-477e-a40a-e52c8ccd74b9' | 'b23cd6e0-91cd-4a8a-9869-b30366bf3966' | '731eb2be-a74f-4070-b797-35bf7009e553' | 'ff86d432-7f27-47f8-b02f-b5c102ef6a55' | '0f9acbf6-93b5-42c7-a227-fc7652755f65' | 'b23cd6e0-91cd-4a8a-9869-b30366bf3966'
  - `workspace_role_name` 'billing' | 'user' | 'contributor' | 'dev' | 'dev_contributor' | 'mistral_code_user' | 'cloud_user' | 'workspace_contributor' | 'workspace_admin' | 'observability_viewer' | 'workflow_executor', nullable — Workspace role name to assign to the group. Mutually exclusive with 'workspace_role'.

## Response `204`

No Content

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
