You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new membership in a `goal`, `project`, or `portfolio`. Teams or users can be members of `goals` or `projects`. Portfolios only support `users` as members. Returns the full record of the newly created membership.
18
+
Creates a new membership in a `goal`, `project`, `portfolio`, or `custom_field`. Teams or Users can be members of `goals` or `projects`. Portfolios and custom fields only support `users` as members. Returns the full record of the newly created membership.
A specific, existing membership for a `goal`, `project` and `portfolio` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
62
+
A specific, existing membership for a `goal`, `project`, `portfolio` or `custom_field` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
**membership_gid** | **String**| Globally unique identifier for the membership. |
135
-
**opt_fields** | **Object**| This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. | [optional]
136
133
137
134
### Return type
138
135
@@ -148,7 +145,7 @@ object
148
145
149
146
Get multiple memberships
150
147
151
-
Returns compact `goal_membership`, `project_membership`, or `portfolio_membership` records. The possible types for `parent` in this request are `goal`, `project`, or `portfolio`. An additional member (user GID or team GID) can be passed in to filter to a specific membership. Teams are not supported for portfolios yet.
148
+
Returns compact `goal_membership`, `project_membership`, `portfolio_membership`, or `custom_field_membership` records. The possible types for `parent` in this request are `goal`, `project`, `portfolio`, or `custom_field`. An additional member (user GID or team GID) can be passed in to filter to a specific membership. Team as members are not supported for portfolios or custom fields yet.
**parent** | **String**| Globally unique identifier for `goal`, `project`, or `portfolio`. | [optional]
180
+
**parent** | **String**| Globally unique identifier for `goal`, `project`, `portfolio`, or `custom_field`. | [optional]
184
181
**member** | **String**| Globally unique identifier for `team` or `user`. | [optional]
185
182
**limit** | **Number**| Results per page. The number of objects to return per page. The value must be between 1 and 100. | [optional]
186
183
**offset** | **String**| Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. *Note: You can only pass in an offset that was returned to you via a previously paginated request.* | [optional]
@@ -200,7 +197,7 @@ object
200
197
201
198
Update a membership
202
199
203
-
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; any unspecified fields will remain unchanged. Memberships on `goals`, `projects`and `portfolios` can be updated. Returns the full record of the updated membership.
200
+
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; any unspecified fields will remain unchanged. Memberships on `goals`, `projects`, `portfolios`, and `custom_fields` can be updated. Returns the full record of the updated membership.
0 commit comments