Chat API
- Introduction
- Endpoints
Admin API
- Getting started
- Concepts
- Endpoints
- GETgetAccount
- PUTupdateAccount
- GETlistPublicIntegrations
- GETgetPublicIntegrationById
- GETgetPublicIntegration
- POSTcreateBot
- GETlistBots
- PUTupdateBot
- GETgetBot
- DELdeleteBot
- GETgetBotLogs
- GETgetBotAnalytics
- GETgetBotIssue
- DELdeleteBotIssue
- GETlistBotIssues
- GETlistBotIssueEvents
- POSTcreateWorkspace
- GETlistWorkspaces
- GETgetPublicWorkspace
- GETgetWorkspace
- PUTupdateWorkspace
- DELdeleteWorkspace
- GETlistPublicWorkspaces
- GETgetAuditRecords
- GETlistWorkspaceMembers
- POSTcreateWorkspaceMember
- GETgetWorkspaceMember
- DELdeleteWorkspaceMember
- PUTupdateWorkspaceMember
- POSTcreateIntegration
- GETlistIntegrations
- POSTvalidateIntegrationCreation
- PUTupdateIntegration
- GETgetIntegration
- DELdeleteIntegration
- PUTvalidateIntegrationUpdate
- GETgetIntegrationLogs
- GETgetIntegrationByName
- GET
Files API
Tables API
- Getting Started
- Endpoints
Runtime API
- Getting Started
- Concepts
- Endpoints
updateWorkspace
Update workspace
PUT
/
v1
/
admin
/
workspaces
/
{id}
curl --request PUT \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--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,
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": ""
}
Path Parameters
Workspace ID
Body
application/json
Workspace metadata
The body is of type object
.
Response
200
application/json
Success
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.botpress.cloud/v1/admin/workspaces/{id} \
--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,
"about": "",
"profilePicture": "",
"contactEmail": "",
"website": "",
"socialAccounts": [],
"isPublic": true,
"handle": ""
}