opt-cc/api/apib/admin/account.apib

40 lines
732 B
Plaintext
Raw Normal View History

2018-04-01 16:01:43 +02:00
### List App Users [GET /account]
List all app users, ordered by username
*Permission: 4*
2018-04-01 16:01:43 +02:00
+ Response 200 (application/json; charset=utf-8)
+ Attributes (array[AppUser], fixed-type)
### Update App User [PATCH /account/{id}]
Update an app user, identified by its id
*Permission: 4*
2018-04-01 16:01:43 +02:00
+ Parameters
+ id: `5abf5064861d950f157c4a09` (string, required) - unique id of app user
+ Request (application/json)
+ Attributes (UpdateAppUser)
+ Response 200 (application/json; charset=utf-8)
+ Attributes (AppUser, fixed-type)
### Delete App User [DELETE /account/{id}]
*Permission: 4*
2018-04-01 16:01:43 +02:00
Delete an app user
+ Parameters
+ id: `5ac0de67b5edc7771c027b94` (string, required) - unique id of app user
+ Response 204