mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows editing an existing API token for a user in the mittwald mStudio system. It is useful when you need to update the description or expiration date of a user's API token without creating a new one. For example, you might want to extend the validity period of an API token or clarify its purpose by updating its description.

Properties

Name Meaning
Api Token Id The unique identifier of the API token to be edited. This is required to specify which token to update.
Description A text description for the API token, e.g., "Api Token for ...". This helps identify the token's purpose.
Expires At The expiration date/time of the API token. This defines when the token will no longer be valid.

Output

The node outputs JSON data representing the updated API token object as returned by the mittwald mStudio API. This typically includes fields such as the token's ID, description, expiration date, and possibly metadata about the token's status or permissions.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de and expects JSON content-type headers.
  • No additional external dependencies are indicated beyond the API access.

Troubleshooting

  • Invalid Api Token Id: If the provided API token ID does not exist or is incorrect, the API will likely return an error indicating the token was not found. Verify the token ID before running the node.
  • Authentication Errors: Ensure that the API key credential is valid and has sufficient permissions to edit user API tokens.
  • Invalid Date Format: The "Expires At" field should be in a format accepted by the API (usually ISO 8601). Incorrect formats may cause request failures.
  • Missing Required Fields: Both "Api Token Id" and "Description" are required; omitting them will cause errors.

Links and References

Discussion