mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation updates a project membership in the mittwald mStudio API. It allows modifying details of an existing project member, such as their role within the project and the expiration time of their membership. This is useful for managing access control and membership lifecycle in projects, for example, when changing a team member's permissions or setting a membership to expire at a certain date.

Practical examples:

  • Changing a user's role from "external" to "owner" to grant them full project control.
  • Setting an expiration date on a temporary collaborator’s membership to automatically revoke access later.

Properties

Name Meaning
Project Membership Id The unique identifier of the project membership entry that you want to update.
Expires At The timestamp indicating when the project membership should expire (optional).
Role The role assigned to the project member. Options: Notset, Owner, Emailadmin, External.

Output

The node outputs JSON data representing the updated project membership object returned by the mittwald mStudio API. This typically includes fields such as the membership ID, assigned role, expiration time, and possibly other metadata about the membership.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de for API requests.
  • The node depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Invalid Project Membership Id: If the provided membership ID does not exist or is malformed, the API will likely return an error. Verify the ID before running the node.
  • Invalid Role Value: Ensure the role value is one of the allowed options (notset, owner, emailadmin, external). Using an unsupported role will cause the API to reject the request.
  • Expired or Missing API Key: Authentication errors may occur if the API key credential is missing, expired, or invalid. Check your credentials configuration.
  • Date Format for Expires At: The expiration time should be in a valid string format accepted by the API (likely ISO 8601). Incorrect formats may cause errors.

Links and References

Discussion