authtokens
GET /api/authtokens
Summary: List active tokens
Parameters
In | Name | Type | Required | Description |
---|---|---|---|---|
query | token_type |
string | no | * INGEST - INGEST |
* USER - USER |
||||
query | ordering |
string | no | Which field to use when ordering the results. |
query | page |
integer | no | A page number within the paginated result set. |
query | page_size |
integer | no | Number of results to return per page. |
query | show_all |
boolean | no | Do not filter objects owned by current user |
Responses
-
200 —
-
Media type:
application/json
Type: PaginatedAuthTokenList
POST /api/authtokens
Request Body
- Media type:
application/json
Type: AuthToken
- Media type:
application/x-www-form-urlencoded
Type: AuthToken
- Media type:
multipart/form-data
Type: AuthToken
Responses
-
201 —
-
Media type:
application/json
Type: AuthToken
DELETE /api/authtokens/{secret_key}
Parameters
In | Name | Type | Required | Description |
---|---|---|---|---|
path | secret_key |
string | yes |
Responses
- 204 — No response body
GET /api/authtokens/{secret_key}
Parameters
In | Name | Type | Required | Description |
---|---|---|---|---|
path | secret_key |
string | yes |
Responses
-
200 —
-
Media type:
application/json
Type: AuthToken