Personal Access Tokens
List PATs
Changed onList personal access tokens for a user.
get/v3/users/{userId}/access-tokens
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/users/{userId}/access-tokens
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
Response
A list response for a collection of personal access tokens.
Example response
{
"meta": {
"number": 1,
"size": 10,
"total": 100
},
"data": [
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"user_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"revoked_by": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"last_used_at": "2022-11-04T20:10:06.927Z",
"expires_at": "2022-11-04T20:10:06.927Z",
"revoked_at": "2022-11-04T20:10:06.927Z"
}
]
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
401.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning