---
title: "Update a user"
method: PUT
path: "/api/public/v1/user/{id}"
tags: ["UserResource"]
---

# Update a user

`PUT /api/public/v1/user/{id}`

## Request

- Base URL: `https://allquiet.app` (the document declares no server; this is the origin it was published from)
- URL: `https://allquiet.app/api/public/v1/user/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/allquiet/apis/all-quiet-public-api/docs/api/public/v1/user/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates profile and settings for a user provisioned in the organization.

**Required API key permissions**

- **Scope:** `users:update`
- **Accepted key types:** organization API key (org-wide), personal access token (org-wide)
- **Access:** User-linked keys (personal access tokens) may only act on their own user.
- **Self access:** personal access tokens may write their linked user's resource even when the user belongs to multiple organizations.
- **Notes:** Personal access tokens may only update their linked user.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `organizationId` string, uuid

## Request body

- AllQuietApiPublicUsersUserResourceUpdateRequest
  - `email` string, nullable
  - `displayName` string, nullable
  - `phoneNumber` string, nullable
  - `timeZoneId` string, nullable
  - `incidentNotificationSettings` AllQuietApiAuthenticationModelsIncidentNotificationSettings
    - `shouldSendSMS` boolean, nullable
    - `delayInMinSMS` integer, nullable
    - `severitiesSMS` string[], nullable
    - `shouldCallVoice` boolean, nullable
    - `delayInMinVoice` integer, nullable
    - `severitiesVoice` string[], nullable
    - `shouldSendPush` boolean, nullable
    - `delayInMinPush` integer, nullable
    - `severitiesPush` string[], nullable
    - `shouldSendEmail` boolean, nullable
    - `delayInMinEmail` integer, nullable
    - `severitiesEmail` string[], nullable
    - `phoneNumberConfirmations` AllQuietApiAuthenticationModelsPhoneNumberConfirmation[], nullable
      - `phoneNumber` string, nullable
      - `confirmedAt` string, date-time, nullable
      - `requestedAt` string, date-time, nullable
      - `confirmationCode` string, nullable
      - `type` string, nullable
    - `disabledIntentsEmail` string[], nullable
    - `disabledIntentsVoice` string[], nullable
    - `disabledIntentsPush` string[], nullable
    - `disabledIntentsSMS` string[], nullable
  - `calendarPublishingSettings` AllQuietApiCommonCalendarPublishingSettingsRequest
    - `isPublished` boolean, nullable
    - `onlyIncludeTier1` boolean, nullable
  - `disableWeeklyIncidentEngagementReport` boolean, nullable

## Response `200`

OK

- AllQuietApiPublicUsersUserResourceResponse
  - `id` string, uuid
  - `email` string, nullable
  - `userName` string, nullable
  - `displayName` string, nullable
  - `phoneNumber` string, nullable
  - `timeZoneId` string, nullable
  - `incidentNotificationSettings` AllQuietApiAuthenticationModelsIncidentNotificationSettings
    - `shouldSendSMS` boolean, nullable
    - `delayInMinSMS` integer, nullable
    - `severitiesSMS` string[], nullable
    - `shouldCallVoice` boolean, nullable
    - `delayInMinVoice` integer, nullable
    - `severitiesVoice` string[], nullable
    - `shouldSendPush` boolean, nullable
    - `delayInMinPush` integer, nullable
    - `severitiesPush` string[], nullable
    - `shouldSendEmail` boolean, nullable
    - `delayInMinEmail` integer, nullable
    - `severitiesEmail` string[], nullable
    - `phoneNumberConfirmations` AllQuietApiAuthenticationModelsPhoneNumberConfirmation[], nullable
      - `phoneNumber` string, nullable
      - `confirmedAt` string, date-time, nullable
      - `requestedAt` string, date-time, nullable
      - `confirmationCode` string, nullable
      - `type` string, nullable
    - `disabledIntentsEmail` string[], nullable
    - `disabledIntentsVoice` string[], nullable
    - `disabledIntentsPush` string[], nullable
    - `disabledIntentsSMS` string[], nullable
  - `calendarPublishingSettings` AllQuietApiCommonCalendarPublishingSettingsResponse
    - `isPublished` boolean
    - `publicCalendarUrlOutlook` string, nullable
    - `publicCalendarUrlGoogle` string, nullable
    - `onlyIncludeTier1` boolean, nullable
  - `disableWeeklyIncidentEngagementReport` boolean

---

[API](https://skmtc.dev/allquiet/apis/all-quiet-public-api.md) - [All operations](https://skmtc.dev/allquiet/apis/all-quiet-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/allquiet/apis/all-quiet-public-api/revisions/a69168a82f2c?raw)
