API endpoints to update attributes of a group invited to a group or project
Problem to solve
Currently our projects API allows users to Share projects with group and Delete a shared project link within a group. However the Projects API does not have the ability to update attributes such as expires_at or group_access in regards to a group which has already been invited to a project. The same is the case for the Groups API with regard to groups that have been invited to groups.
Proposal
Groups API
-
Add a new API endpoint: Update a link to share a group with another groupthat contains the attributesid,group id,group_access,expires_at-
Changing the role should assign a new role to the group (within the possible restrictions that may apply) -
Changing the expiration date should overwrite the previously set expiration date
-
-
Ensure the new endpoints are rate limited by default -
Update the documentation
Projects API
-
Add a new API endpoint: Update a shared project link within a groupthat contains the attributesid,group id,group_access,expires_at-
Changing the role should assign a new role to the group (within the possible restrictions that may apply) -
Changing the expiration date should overwrite the previously set expiration date
-
-
Ensure the new endpoints are rate limited by default -
Update the documentation
Workaround
The current workaround would be to use the projects API to Delete a shared project link within a group and then re-share the project with the group while applying the updated group_access level attribute.
Edited by Christina Lohr