core_tokens_view_key_retrieve
GET/api/v3//core/tokens/:identifier/view_key/
Return token key and log access
Request
Path Parameters
identifier stringrequired
Responses
- 200
- 400
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
key stringrequired
{
"key": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Token not found or expired
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/core/tokens/:identifier/view_key/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'