# Access Group Memberships

Access Groups allow you to manage product access for users. An Access Group Membership represents the connection of a user to an Access Group.

## Fetching a list of Access Group Memberships

 - [GET /access_group_memberships](https://developer.kantata.com/kantata/specification/access-group-memberships/get-access-group-memberships.md): Returns all access group memberships. The non-editable "Account Administrators" group is excluded from the response.


This endpoint returns structured Access Group Membership objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the access_group_memberships top-level JSON key.
Please see our Response Format section for more information.

## Creating a new Access Group Membership

 - [POST /access_group_memberships](https://developer.kantata.com/kantata/specification/access-group-memberships/create-access-group-membership.md): Adds a user to an access group. Note: To add a user to the Account Administrators access group, you must update
the user's account membership permission instead.


This endpoint returns structured Access Group Membership objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the access_group_memberships top-level JSON key.
Please see our Response Format section for more information.

## Fetching a single Access Group Membership

 - [GET /access_group_memberships/{id}](https://developer.kantata.com/kantata/specification/access-group-memberships/get-access-group-membership.md): This endpoint returns structured Access Group Membership objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the access_group_memberships top-level JSON key.
Please see our Response Format section for more information.

## Deleting an existing Access Group Membership

 - [DELETE /access_group_memberships/{id}](https://developer.kantata.com/kantata/specification/access-group-memberships/delete-access-group-membership.md): Deletes the specified access group membership (i.e. removes the user from the access group). Note: To remove a user
from the Account Administrators access group, you must update the user's account membership permission instead.


The response will contain no content and an HTTP 204 status code if the request was
successful, or a standard Kantata OX error message explaining why the object could not be deleted.

