admin-users

Remove User From Admin

解除指定用户的管理员权限 需要JWT认证且验证为管理员,且只有用户名为admin的根用户才有权限 POST方法,参数为uuid,将指定uuid的用户users表is_superuser列设置为0

post/api/v1/admin_users/remove_user_from_admin

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/admin_users/remove_user_from_admin
  • Auth: OAuth 2 (password, token URL /api/v1/users/login)

Request body

uuidstring uuid4 required

Response

Successful Response

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.