Invite workspace member
Invite a user to the workspace with a role. Only owner or admin can invite. Role cannot be owner.
请求头
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
请求
userId (UUID), role (admin|billing_admin|member|viewer)
role
email
userId
响应
data: created member
错误
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error