Open max-wittig opened 4 years ago
I found this undocumented API PUT /organizations/#{org_slug}/members/#{user_id}/
that worked with my auth token and the body { teams: [team_slug] }
I found this undocumented API
PUT /organizations/#{org_slug}/members/#{user_id}/
that worked with my auth token and the body{ teams: [team_slug] }
I am trying to invite a member to the organisation and add to a team. Can you elaborate how you did it?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Accepted
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Ping @getsentry/enterprise for triage
Thanks for the feedback!
IIRC we don't support assigning users to projects. The flow would be to add the users to a team, then assign to projects to the team.
@bowencai8 I can see how it'll be useful to have a public API for assigning projects to teams as assigning Groups to Resources is not supported by SCIM.
In our on premise installation version 23.2.0.dev0, we also struggle to find the solution so we just make the org open. It would be great if I could integrate member adding into my pipeline, currently I only can create teams, create project below its team, and just let the developer know the team url so they can join.
Summary
Currently we can just list project users, but I would like to also be able to add users to projects, to teams and to organizations.
Is this planned or did I maybe miss something in the API documentation at https://docs.sentry.io/api/
Motivation
We have a self-hosted GitLab instance, which integrated with Sentry. Sadly I can't add the people from the instance directly to the organization, project or team.
Additional Context
Example endpoint: