组织管理

更新成员角色

Changed on

更新组织成员(空间)的角色(需要管理员权限)

put/organizations/{id}/members/{tenant_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/organizations/{id}/members/{tenant_id}
  • Auth
    API key in header Authorization

Path parameters

idstring required

组织ID

tenant_idstring required

成员空间ID

Request body

role'admin' | 'editor' | 'viewer' required

Response

OK

messagestring
successboolean

Example response

{
  "success": true
}

Changes