Skip to main content
POST
Create Workspace Membership

Authorizations

Authorization
string
header
required

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

Body

application/json
userId
string
required
workspaceId
string<uuid4>
required
privileges
enum<string>[]
Maximum array length: 1
Available options:
ROLE_WORKSPACE_OWNER,
ROLE_WORKSPACE_ADMIN,
ROLE_WORKSPACE_MEMBER

Response

Successful Response

userId
string
required
workspaceId
string<uuid4>
required
privileges
enum<string>[]
required
Available options:
ROLE_WORKSPACE_OWNER,
ROLE_WORKSPACE_ADMIN,
ROLE_WORKSPACE_MEMBER
id
string<uuid4>
createdAt
string<date-time>
updatedAt
string<date-time>
accessTokens
WorkspaceAccessToken · object[]