Invite workspace member

以 Markdown 格式查看
Invite a user to the workspace with a role. Only owner or admin can invite. Role cannot be owner.

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

userId (UUID), role (admin|billing_admin|member|viewer)

rolestring必需
emailstring可选
userIdstring可选

响应

data: created member

错误

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error