Skip to main content
POST
/
workspaces
Create a workspace
curl --request POST \
  --url https://api.staging-2tid4c.ezyshield.com.au/management/v1/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "type": "workspaces",
    "attributes": {
      "name": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the workspace.

Maximum string length: 255

Response

WorkspaceResource

data
WorkspaceResource · object
required