POST
/
api
/
v1
/
workspaces
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "memberships": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "userId": "<string>",
      "workspaceId": "<string>",
      "privileges": [
        "ROLE_WORKSPACE_OWNER"
      ],
      "accessTokens": []
    }
  ]
}

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
Required string length: 1 - 128
billingAccountEmail
string
required
firstMemberId
string | null

Response

201
application/json
Successful Response
name
string
required
memberships
object[]
required
id
string
createdAt
string
updatedAt
string