# Renew personal access token Renew token associated with the given token_id. Endpoint: PUT /authn2/v0/personal-access-token/{personal_access_token_id} Version: 1.0.0 ## Path parameters: - `personal_access_token_id` (string, required) Personal Access Token Id ## Request fields (application/json): - `expiry_at` (integer, required) exipy date for token. ## Response 200 fields (application/json): - `id` (string) Unique ID for the generated token. - `name` (string) Name for the token. - `description` (string) Description for the token. - `created_at` (string) Timestamp indicating when the token was created. - `updated_at` (string) Timestamp indicating when the token was last updated. - `token` (string) The generated access token value. - `prefix` (string) Prefix for the generated token value. - `expiry_at` (integer) exipy date for token. - `legacy_token_id` (integer) token id corresponding to legacy system - `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)