tokens
GET /api/v2/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.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Query parameters
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.
Response
Paginated Auth Token List required
count, integer required
next, string uri nullable
previous, string uri nullable
results, Auth Token[] 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
No recorded changes to this operation across all 15 revisions of this API.