Humanitech - Token API icon

Humanitech - Token API

Token de API hut_ — /api/dashboard/api/token

Actions3

Token → Create

AI-generated

Summary

Generate a new API token by sending a POST request to the Humanitech API, optionally specifying a token name and expiration period in days.

Inputs

  • Name — The name of the API token to create; it is sent as a password-type string in the request body under the 'name' property.
  • Expires In Days — The number of days after which the token expires; sent as a number in the request body under the 'expiresInDays' property. A default value of 0 may indicate no expiration or immediate expiration depending on API behavior.

Output shape

a single record containing the details of the newly generated API token

The operation sends a single POST request to /api/dashboard/api/token; it invalidates any previous token and returns the new token data as JSON in the response. The node's output includes this token data.

Links

Discussion