Create new workspace.
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 }
Default authentication mechanism
Successful request.
The response is of type object.
object
Was this page helpful?