空间邀请

发出空间邀请

Owner 通过邮箱邀请已注册用户加入空间。开启 tenant.auto_accept_invitation 后被邀请人立即自动加入(响应为成员结构),否则需在 /me/invitations 接受后成为成员。

post/tenants/{id}/invitations

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/tenants/{id}/invitations
  • Auth
    API key in header Authorization

Path parameters

idstring required

空间 ID

Request body

emailstring required
messagestring
role'owner' | 'admin' | 'contributor' | 'viewer' required

Response

Created

successboolean

Example response

{
  "success": true
}

Changes