Skip to content

Commit

Permalink
docs(api): add changes to /accounts docs
Browse files Browse the repository at this point in the history
Signed-off-by: GustaafL <[email protected]>
  • Loading branch information
GustaafL committed Oct 24, 2023
1 parent 1e93ed9 commit 0ab49ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flexmeasures/api/v3_0/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def index(self):
.. :quickref: Account; Download account list
This endpoint returns all accessible accounts.
Accessible accounts are your own account, or all accounts for admins.
Accessible accounts are your own account, the account you are a consultant for, or all accounts for admins.
When the super-account concept (GH#203) lands, then users in such accounts see all managed accounts.
**Example response**
Expand All @@ -50,6 +50,7 @@ def index(self):
'id': 1,
'name': 'Test Account'
'account_roles': [1, 3],
'consultancy_account_id': 2,
}
]
Expand Down

0 comments on commit 0ab49ec

Please sign in to comment.