api.dc.user
¶
/dc/(dc)/user¶
-
api.dc.user.views.
dc_user_list
(*args, **kwargs)¶ List (
GET
) users available in current datacenter (dc).-
GET
/dc/
(dc)/user
¶ DC-bound?: Permissions: Asynchronous?: Parameters: - request.dc (string) – required - Datacenter name
- data.full (boolean) – Return list of objects with all user details (default: false)
- data.active (boolean) – Return list of users that are active (default: true)
- data.order_by (string) – Available fields for sorting:
username
(default:username
)
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
- 404 Not Found – Datacenter not found
-
/dc/(dc)/user/(username)¶
-
api.dc.user.views.
dc_user
(*args, **kwargs)¶ Show (
GET
) details of a user (username) with access to a specific datacenter (dc).-
GET
/dc/
(dc)/user/
(username)¶ DC-bound?: Permissions: Asynchronous?: Parameters: - request.dc (string) – required - Datacenter name
- username (string) – required - Username
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
- 404 Not Found – Datacenter not found / User not found
-