Adding Users to Projects via API #602
mbrasile-MHC
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Hi, there is currently no API endpoint to create a user and directly add it to a project. You need to combine multiple API requests:
For details see https://demo.sysre.pt/api/public/utils/swagger-ui/ |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any plan to add an API to add members to a project directly? or am I grossly overthinking how to add members to a project perhaps?
For example:
If you have a project and want to add a user to it, it looks like you currently have to call
createProjectorupdateProjectand provide a project dict containing a lot of project data, and then a members dict with an object for each member (also containing a lot of data) that also contains a roles dict within that object.For automating, it would be kind of nice if we could say here is a project (uuid) and I want to add (first.last@domain.com) or (first.last) or (username) to the project.
Beta Was this translation helpful? Give feedback.
All reactions