Skip to main content
POST
/
v1
/
workspaces
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
}

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required
Required string length: 4 - 32
Example:
slug
string
Required string length: 4 - 32
Example:

Response

data
object
required
success
boolean
default:true
required