POST /tokens
Changed onCreates an API token and returns its secret token value, which you can't retrieve again. You can only grant capabilities you have yourself. If you omit expiresAt, the token doesn't expire.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesapiTokens|create
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created API token, including its secret token value.
Changes
- 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