# Get tokens for corresponding user and tenant Get all tokens associated with the given user and tenant. Endpoint: GET /authn2/v0/personal-access-token/ Version: 1.0.0 ## Response 200 fields (application/json): - `count` (integer) - `personal_access_tokens` (array) - `personal_access_tokens.id` (string) The unique identifier of the token. - `personal_access_tokens.name` (string) The name of the token. - `personal_access_tokens.description` (string) A description of the token. - `personal_access_tokens.created_at` (string) Timestamp indicating when the token was created. - `personal_access_tokens.updated_at` (string) Timestamp indicating when the token was updated. - `personal_access_tokens.prefix` (string) The token prefix. - `personal_access_tokens.token` (string) The token value. - `personal_access_tokens.expiry_at` (integer) exipy date for token, -1 indicates no expiry. - `personal_access_tokens.legacy_token_id` (integer) token id corresponding to legacy system - `personal_access_tokens.legacy_developer_app_id` (string) developer app id corresponding to legacy system ## Response 400 fields (application/json): - `status` (integer) Either 'status' or 'code' will be present, but not both. - `code` (integer) Either 'status' or 'code' will be present, but not both. - `error` (string) Either 'error' or 'errors' will be present, but not both. - `errors` (array) Either 'error' or 'errors' will be present, but not both. - `message` (string) ## Response 401 fields (application/json): - `status` (integer) Either 'status' or 'code' will be present, but not both. - `code` (integer) Either 'status' or 'code' will be present, but not both. - `error` (string) Either 'error' or 'errors' will be present, but not both. - `errors` (array) Either 'error' or 'errors' will be present, but not both. - `message` (string)