mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows editing an existing SSH key associated with a user in the mittwald mStudio API. It is useful for updating metadata related to a user's SSH key, such as changing the comment or setting an expiration date. Typical use cases include managing access credentials for users by updating descriptive comments or controlling key validity periods.

Properties

Name Meaning
Ssh Key Id The unique identifier of the SSH key to be edited (required).
Comment A descriptive comment for the SSH key, often used to identify the key owner or purpose.
Expires At The expiration date/time for the SSH key, after which it becomes invalid.

Output

The node outputs JSON data representing the updated SSH key resource as returned by the mittwald mStudio API. This typically includes the SSH key's ID, updated comment, expiration timestamp, and possibly other metadata fields reflecting the current state of the SSH key after modification.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating requests to the mittwald mStudio API.
  • The base URL for API requests is https://api.mittwald.de.
  • The node uses standard HTTP headers for JSON content negotiation (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Missing or invalid SSH Key Id: Ensure the SSH Key Id provided corresponds to an existing key; otherwise, the API will likely return an error indicating the key was not found.
  • Invalid date format for Expires At: The expiration date should be in a valid string format accepted by the API (e.g., ISO 8601). Incorrect formats may cause request failures.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions to edit user SSH keys.
  • Network or API errors: Check connectivity to the API endpoint and ensure the service is operational.

Links and References

Discussion