admin

GET /api/v2/admin/users/

Changed on

Staff viewset for managing users.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Query parameters

email, string
is_active, boolean
is_staff, boolean
is_superuser, boolean
is_system, boolean
limit, integer

Number of results to return per page.

offset, integer

The initial index from which to return the results.

ordering, string

Which field to use when ordering the results.

search, string

A search term.

username, string

Response

PaginatedUserList required
count, integer required
next, string uri nullable
previous, string uri nullable
results, User[] required

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

    • breaking

      the results/items/email response property's maxLength was unset from 254 for the response status

    • info

      the response optional property results/items/email became read-only for the status

    • info

      the response property results/items/email became required for the status