Unable to find rest api v3 endpoint for add/remove access to products

Hello everyone,

I’ve spent a lot of time to find add/remove access to product endpoint. We are using rest api v3 and trying to manage product access for users in our app. I’m looking forward to your reply.

Thanks in advance.

Hello @CeyhunCengiz and welcome to the Atlassian developer community.

I would recommend having a look at how Atlassian thinks about user provisioning generally. And especially look at how Groups get assigned to products, instead of individual users.

You cannot use Atlassian Connect to add users to groups. Note what it says near the top of that endpoint, “Connect apps cannot access this REST resource.” You might be able to use a Forge or 3LO App to manage group memberships.

I would recommend looking outside of Jira at the Atlassian-wide user provisioning APIs. Right now, the only option for integration is to write a simple client using API key described in that documentation. However, this would provide common group management capabilities that can be used with Jira and Confluence now, with other products like Bitbucket, Opsgenie, Trello, and Statuspage on the way.