cURL
curl --request PUT \ --url https://api.botpress.cloud/v1/admin/workspaces/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-workspace-id: <api-key>' \ --data '{ "name": "<string>", "spendingLimit": 502.5, "about": "<string>", "profilePicture": "<string>", "contactEmail": "<string>", "website": "<string>", "socialAccounts": [ "<string>" ], "isPublic": true, "handle": "<string>" }'
{ "id": "<string>", "name": "<string>", "ownerId": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "botCount": 123, "billingVersion": "v1", "plan": "community", "blocked": true, "spendingLimit": 123, "about": "", "profilePicture": "", "contactEmail": "", "website": "", "socialAccounts": [], "isPublic": true, "handle": "" }
Update workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your workspace ID.
Workspace ID
Workspace metadata
1 - 64
5 <= x <= 1000
5
Success
v1
v2
v3
community
team
enterprise
plus
Was this page helpful?