POST /tokens/{id}/regenerate
Changed onCreates a new API token with the existing token's capabilities, or with those in newToken, and returns its secret value. The existing token keeps working until existingTokenExpiresAt; set it to the current time to revoke it immediately.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesapiTokens|update
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
New API token, including its secret token value.
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- warning
removed the request property
/// - warning
removed the request property
// - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
/////from the response with the status - info
added the new optional request property
// - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
/////to the response with the status
- warning