Tokens

List User Tokens

List all PATs for the authenticated user (secrets never included).

get/user/me/tokens

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/user/me/tokens
  • Auth: HTTP bearer

Headers

API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Response

Successful Response

idinteger required
namestring required
scopesstring[] required
expires_atstring date-time nullable
last_used_atstring date-time nullable
revoked_atstring date-time nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.