Skip to main content

Update a workspace

Enterprise Only

This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.

Method: PUT

URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/workspaces/{workspaceUuid}

Authorization: Bearer <token>

Body:

{
"name": "Updated Workspace Name",
"hex_color": "#10b981",
"owner_id": 2,
"access_status": "unlimited"
}
KeyFormatRequiredDescription
namestringrequiredWorkspace name (max 60 characters)
hex_colorstringrequiredHEX color for the workspace
owner_idintegeroptionalUser ID of the workspace owner. If the user is not already a member, they will be added as an admin.
access_statusstringrequiredAccess status: subscription, unlimited, or locked

Response:

{
"success": true
}
{
"success": false
}