Update a workspace

This endpoint allows you to get a workspace using it's ID

put
Update a Workspace

https://api.imber.live/workspace/:ID
This endpoint allow you to update a workspace
Request
Response
Request
Path Parameters
id
required
string
ID of the workspace
Headers
Authentication
required
string
Authentication token
Body Parameters
logo
optional
string
Logo of workspace (show in panel)
operators
optional
array
list of operators for this workspace (an Array of Object)
url
optional
string
The URL of workspace (Your website address)
name
optional
string
Your workspace name
Response
200: OK
Workspace successfully updated.
{
"success": true,
"data": {
"status": 1,
"type": 0,
"_id": "5fbb7399d0222a70a8fece80",
"name": "Imber",
"url": "https://imber.live/en",
"containerId": "5f00a44d8e844b5a746f90b1",
"token": "z4ukm94khual26v",
"operators": [
{
"_id": "5fbb7399d0222a70a8fece81",
"operatorId": "5f060997de67087e5d2a2650",
"access": 3
},
{
"_id": "5fc4f57f4f7fef13107bd917",
"operatorId": "5fc4f5584f7fef13107bd7fb",
"access": 2
},
{
"_id": "6007c91c77adfaf4218e5948",
"operatorId": "5fc4f5584f7fef13107bd7fb",
"access": 2
}
],
"createdAt": "2020-11-23T08:32:25.688Z",
"updatedAt": "2020-11-23T08:32:25.688Z",
"__v": 2,
"logo": "https://upload.imber.live/preview/5fbcd997967be139cea6b482/5fbb7399d0222a70a8fece80"
}
}