---
title: "Update external access info"
method: PATCH
path: "/users/external/{id}"
tags: ["User"]
---

# Update external access info

`PATCH /users/external/{id}`

Updates external access info for a specific user.

## Path parameters

- `id` integer, required

## Request body

- XiqUpdateExternalUserRequest
  - `user_role` 'ADMINISTRATOR' | 'OPERATOR' | 'MONITOR' | 'HELP_DESK' | 'GUEST_MANAGEMENT' | 'OBSERVER' | 'INSTALLER' | 'APPLICATION_OPERATOR' — The user administrative role
  - `org_id` integer — The HIQ organization ID if it is HIQ user, otherwise leave it as empty.
  - `location_ids` integer[] — The location IDs to assign.
  - `access_scope` integer — The user has access on all sites / the authorized sites. 0: VIQ_SCOPE, 1: SITE_SCOPE.
  - `viq_access_control` integer — The permissions for Site Scope user on Global Scope resources. 0: READ_WRITE, 1: READ_ONLY.

## Response `200`

OK

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
