Admin

Set Mode Group Access

Scope energy modes to user groups: {mode: [group, ...]}, where an empty list or the all_users sentinel means everyone and the no_users sentinel turns the mode off for everyone. Replaces the whole map at once.

post/api/set_mode_group_access

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/set_mode_group_access
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Request body

accessobject required

Response

Successful Response

unknown required

Changes

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