# Is there any Rest API Endpoint to add a group to product access

**URL:** <https://community.developer.atlassian.com/t/is-there-any-rest-api-endpoint-to-add-a-group-to-product-access/86092>\
**Category:** Jira Cloud\
**Tags:** jira-cloud, rest-api\
**Created:** [November 12, 2024, 8:54am UTC](https://community.developer.atlassian.com/t/is-there-any-rest-api-endpoint-to-add-a-group-to-product-access/86092 "2024-11-12T08:54:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dinesh\_R](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@Dinesh\_R](https://community.developer.atlassian.com/u/Dinesh_R)\
**Post date:** [November 12, 2024, 8:54am UTC](https://community.developer.atlassian.com/t/is-there-any-rest-api-endpoint-to-add-a-group-to-product-access/86092/1 "2024-11-12T08:54:07Z")

</div>

Hi,  
We are trying to add a group to product access of a Jira software, but we can only find documentations on how to add a group to product access through UI. We are looking for a Rest API endpoint to add a group to product access.  
We have tried using this “[https://admin.atlassian.com/gateway/api/adminhub/um/site/{SiteId}/product/jira-software/access-config/use](https://admin.atlassian.com/gateway/api/adminhub/um/site/%7BSiteId%7D/product/jira-software/access-config/use)” endpoint but we are getting 401 unauthorized error, we are using an Id with both site admin and org admin access for authorization.  
Any help is appreciated.  
Thanks
