> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Sample Flows

## Article: Sample Flows

## Article Link: https://dev.wix.com/docs/api-reference/account-level/user-management/sites/contributors/sample-flows.md

## Article Content:

# Contributors API: Sample Flows

This article presents a possible use case and corresponding sample flow that you can support. This can be a helpful jumping off point as you plan your implementation.

## Manage contributor access to specific locations

For multi-location businesses, you can use [Change Contributor Location](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/change-contributor-location.md) to restrict a contributor's access to specific physical locations, rather than granting access to the entire business. 
Learn more about managing business locations with the [Locations API](https://dev.wix.com/docs/api-reference/business-management/locations/introduction.md).

1. Call [Query Site Contributors](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/query-site-contributors.md) to retrieve a list of contributors and their current location assignments.
2. Call [Change Contributor Location](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/change-contributor-location.md) with the contributor's account ID and the new list of location IDs to assign.
3. Call [Remove Contributor](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/remove-contributor.md) to remove a contibutor from a site.


<!-- removed until relevant fields are added to the api
## Manage customer access to a site

You can manage which customers have access to a site and what level of access they have by querying contributors and updating their roles. This allows you to ensure customers have the appropriate permissions for their needs.

To manage customer access to a site:

1. Call [Query Site Contributors](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/query-site-contributors.md) with any relevant filters to retrieve a list of contributor account IDs and account owner IDs. For example, filter by role ID to find all contributors with a specific role, or filter by location ID to find contributors assigned to specific business locations.

2. If changes to a customer's roles are required, call [Change Role](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/change-role.md) with the customer's account ID and the new list of roles to assign. This replaces all existing role assignments for the contributor with the specified roles.

3. If the contributor's role assignments need to be restricted to specific business locations, call [Change Contributor Location](https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/change-contributor-location.md) with the customer's account ID and the location IDs to assign. This updates the locations within all of the contributor's role assignments.
-->