Skip to content
Navigation

createWorkspace

POST
/api/v1/workspaces

Authorization

  • session
    optional
    API key in cookie
  • token
    optional
    HTTP Bearer

    Authorization: Bearer <token>

Request body JSON required

  • name
    string
    required
    maxLength: 100 · minLength: 1

Returns

201

Created. The caller becomes its owner.

JSON
  • id
    string
    required
  • name
    string
    required
  • personal
    boolean
    required
  • role
    owner
    or
    admin
    or
    member
    required
  • createdAt
    string
    required
    format: date-time

400

Error.
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close