get_user_geographic_access_scope
Retrieve the country-based geographic access scope assigned to a user for a target customer in your hierarchy. Returns which countries the user can access, with permissions validated against the root tenant.
Instructions
Manage country-based access to tenants in your customer hierarchy. Returns 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. Targets outside that hierarchy are returned as not found. 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 |