postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.86k stars 841 forks source link

API - Invite Group to Workspace #13177

Closed Ty-R closed 3 weeks ago

Ty-R commented 1 month ago

Is there an existing request for this feature?

Is your feature request related to a problem?

Yes. Using the API, it is possible to:

But inviting that group to that workspace seems to require the UI, making it manual step.

Describe the solution you'd like

For the API to be extended to support inviting groups to a workspace. Here's an example to further help visualise:

image

Describe alternatives you've considered

The only alternative is to invite groups through the workspace settings UI.

Additional context

No response

davidespihernandez commented 1 month ago

Thanks for your question, @Ty-R! It makes sense to me... I'll check the possibility of exposing this API in the SCIM endpoints.

shruti-paranjape commented 3 weeks ago

Hi @Ty-R, you can use the Workspaces > Roles Patch request to add a usergroup to a workspace. Here is an example with SCIM Id, you can add using the group id as well.