空间邀请

生成共享邀请链接

生成一条多次使用的共享邀请链接:谁拿到链接谁就能注册并加入当前空间。 链接持续有效,直到过期或被撤销。

post/tenants/{id}/invite-links

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}/invite-links
  • Auth
    API key in header Authorization

Path parameters

idstring required

空间 ID

Request body

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

Response

Created

successboolean

Example response

{
  "success": true
}

Changes