Admin Roles

Create a new role. Owner only.

post/api/admin-role

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
  • Auth
    OAuth 2
    Password
    Token URL: /api/admin/token

Request body

namestring required
disabled_when_limitedboolean
disconnect_users_when_limitedboolean
disconnect_users_when_disabledboolean

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