update_user_geographic_access_scope
Update a user's geographic access scope to control country-based tenant access. Atomically replaces the assigned scope for a user in the customer hierarchy.
Instructions
Manage country-based access to tenants in your customer hierarchy. Atomically replaces the geographic scope assigned to a user who belongs to the target customer. The authenticated tenant must be the hierarchy root, and the target must be that root customer or one of its child customers. Repeating an identical request is idempotent. Requires the UsersManager permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| X-Tenant-Id | No | ||
| customerContext | No | Scope the request to a specific customer by ID. Required for DoiT employees (whose token isn't tied to a single customer); omit for direct customer users. | |
| targetCustomerId | Yes |