{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"An existing membership can be updated by making a `PUT` request on the membership. Only the fields provided in the `data` block will be updated;\nany unspecified fields will remain unchanged. Memberships on `goals`, `projects`, `portfolios`, `custom_types`, `custom_fields`, `tables`, and `records` can be updated.\nReturns the full record of the updated membership.","properties":{"path":{"type":"object","properties":{"membership_gid":{"type":"string","examples":["12345"],"description":"Globally unique identifier for the membership."}},"required":["membership_gid"],"additionalProperties":false},"query":{"type":"object","properties":{"opt_pretty":{"type":"boolean","examples":[true],"description":"Provides “pretty” output.\nProvides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."}},"required":[],"additionalProperties":false},"body":{"type":"object","properties":{"data":{"$ref":"#/definitions/MembershipRequest"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"MembershipRequest":{"type":"object","properties":{"access_level":{"description":"Sets the access level for the member. Goals can have access levels `viewer`, `commenter`, `editor` or `admin`. Projects can have access levels `admin`, `editor` or `commenter`. Portfolios can have access levels `admin`, `editor` or `viewer`. Custom Fields can have access levels `admin`, `editor` or `user`. Tables accept `admin`, `editor`, or `viewer` on creation. Records accept `admin`, `editor`, `commenter`, or `viewer`.","type":"string","examples":["editor"]}}}}},"name":"Update a membership","id":"asana.updatemembership","example":{"path":{"membership_gid":"12345"},"body":{}},"maxRequests":1,"summary":false}}