core_tokens_set_key_create
POST/core/tokens/:identifier/set_key/
Set token key. Action is logged as event. authentik_core.set_token_key
permission
is required.
Request
Path Parameters
identifier stringrequired
- application/json
Body
required
key stringrequired
Possible values: non-empty
Responses
- 204
- 400
- 403
- 404
Successfully changed key
Missing key
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Token not found or expired
Loading...