Open link in a new tab

Content

Expand project menu

Create Group-Membership with API

Hi all,

I'm struggling with creating a group membership via API. I don't have an idea, how this can be done - the documentation is not clear enough.

Which is the URL I would have post/patch to?
Which is the payload that I need have to send?

Creating Users works fine via api, but here I really need help.

Thank you!

Message actions

Hi

please share your efforts that you understood on the docs, without that we will not be able to help you

Message actions

I might have the same problem, I can't understand witch API endpoint I can use to add existing Members with a specific existing Role to a specific existing Project ?

Message actions

I faced similar kind of issue last time, I am still searching for some proper solution.

www.thirtyonetoday.com

Message actions

I am posting

{'principal': {'href': '/api/v3/groups/1},
'project': {'href': '/api/v3/projects/1'},
'roles': [{'href': '/api/v3/roles/1'}]}

on api/v3/memberships

and it works

The api documentation on this one don't help a lot I agree