curl --request PUT \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--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,
"activeTrialId": "<string>",
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": "<string>"
}Update workspace
curl --request PUT \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--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,
"activeTrialId": "<string>",
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
Workspace ID
Workspace metadata
Success
v1, v2, v3 community, team, enterprise, plus Was this page helpful?