tokens

Manage API authentication tokens for the current user.

Requires knox.view_authtoken permission to list tokens. Requires knox.delete_authtoken permission to delete tokens. Requires knox.add_authtoken permission to create tokens.

Users can only see and delete their own tokens.

get/api/v2/tokens/

Request

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

Query parameters

limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

orderingstring

Which field to use when ordering the results.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

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

No recorded changes to this operation across all 13 revisions of this API.