List API tokens of a user
get
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired
Name of the user.
Responses
200
All API tokens of the user.
application/json
created_atstring · date-timeRequired
idinteger · int64Required
namestringRequired
401
Session is missing or invalid.
application/json
403
Requires admin privileges and an active enterprise license.
application/json
404
User not found.
application/json
500
Unable to list API tokens.
application/json
get/api/v1/user/{username}/api_token
Last updated
Was this helpful?