users
Get all API keys for a user
Gets all API keys for a user. Only the calling user or admin can retrieve api-keys. Access policy: authenticated
get/users/{id}/tokens
Path parameters
idinteger required
User identifier
Response
Success
Example response
[
{
"description": "portainer-api-key",
"id": 1,
"userId": 1
}
]