空间成员

修改空间成员角色

Changed on

Owner 修改某位成员在当前空间内的角色;不能将最后一位 Owner 降级

put/tenants/{id}/members/{user_id}

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}/members/{user_id}
  • Auth
    API key in header Authorization

Path parameters

idstring required

空间 ID

user_idstring required

用户 ID

Request body

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

Response

OK

successboolean

Example response

{
  "success": true
}

Changes