Javascript
import Evecloud from '@evecloud/sdk'; const client = new Evecloud({ token: 'My Token', }); async function main() { const workspace = await client.workspaces.create({ name: 'My Workspace' }); console.log(workspace.data); } main();
{ "data": { "name": "My Workspace", "slug": "my-workspace" }, "success": true }
Create new workspace.
Default authentication mechanism
The name of the workspace.
4 - 32
"My Workspace"
The unique slug of the workspace. if not provided, it will be generated from the name.
"my-workspace"
Successful request.
Hide child attributes
The unique slug of the workspace.
Whether the API call was successful
Was this page helpful?