Javascript
import Honcho from '@honcho-ai/core'; const client = new Honcho({ apiKey: 'My API Key', }); const workspace = await client.workspaces.update('workspace_id'); console.log(workspace.id);
{ "id": "<string>", "metadata": {}, "configuration": {}, "created_at": "2023-11-07T05:31:56Z" }
Update a Workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace to update
Updated workspace parameters
Successful Response
The response is of type object.
object