Admin Roles

Modify a role. Owner only. Owner role cannot be modified.

put/api/admin-role/{role_id}

Request

  • Base URL
    https://api.ha-man2.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ha-man2.com/api/admin-role/{role_id}
  • Auth
    OAuth 2
    Password
    Token URL: /api/admin/token

Path parameters

role_idinteger required

Request body

namestring nullable
disabled_when_limitedboolean nullable
disconnect_users_when_limitedboolean nullable
disconnect_users_when_disabledboolean nullable

Response

Successful Response

namestring required
disabled_when_limitedboolean
disconnect_users_when_limitedboolean
disconnect_users_when_disabledboolean
idinteger required
is_ownerboolean required
created_atstring date-time required

Changes

    • info

      added the new optional request property ////

    • info

      added the new optional request property //

    • info

      the request property default value changed from true to false

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the response's property default value changed from true to false for the status