patch https://{application_vanity_domain}/api/v1/users/
Patches the specified user.
Required Permissions
Below is the list of required permissions needed to interact with this API. For each permission, the allowed permission boundaries are also specified.
| Permission | Boundary | Description |
|---|---|---|
| user:update | Application | The subject can update all users under the application to which the subject belongs. |
| Tenant | The subject can update all users associated with the tenant to which the subject belongs. | |
| Tenant Inclusion List | The subject can update all users associated with tenants specified in the tenant inclusion list. | |
| Tenant Exclusion List | The subject can update all users associated with tenants in the subject's application who are not on the tenant exclusion list. | |
| Self | A user subject can update itself. |
Field-Level Permissions
In addition to the permissions above, the following permissions are required conditionally based on the fields being updated. The permission boundaries that apply to the user:update permission also apply to the field-level permissions.
| Permission | Description |
|---|---|
| user:manage-email | Required if the email or emailVerified fields are modified. |
| user:manage-external-id | Required if the externalId field is modified. |
| user:manage-restricted-metadata | Required if the restrictedMetadata field is modified. |
| user:manage-status | required if the status field is modified. |