---
title: "Update one 'AppNotificationSetting' entity"
method: PUT
path: "/app-notification-setting/{id}"
tags: ["AppNotificationSetting"]
---

# Update one 'AppNotificationSetting' entity

`PUT /app-notification-setting/{id}`

## Request

- Base URL: `https://app.testiny.io/api/v1`
- URL: `https://app.testiny.io/api/v1/app-notification-setting/{id}`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/testiny/apis/testiny-api/docs/app-notification-setting/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a single existing 'AppNotificationSetting' entity. Returns a full updated entity including (optional) modification metadata.

## Path parameters

- `id` integer, required

## Query parameters

- `force` boolean

## Request body

- AppNotificationSetting
  - `id` integer: The unique entity id - must be a positive integer
  - `user_id` integer: The user_id property
  - `project_id` integer: The project_id property
  - `app_ntf_channel_id` integer: The app_ntf_channel_id property
  - `ntf_type` string: The ntf_type property
  - `sub_types` unknown[]: The sub_types property
    - unknown
  - `mode` string: The mode property
  - `enabled` boolean: The enabled property

## Response `200`

Returns a single AppNotificationSetting

- AppNotificationSetting
  - `id` integer: The unique entity id - must be a positive integer
  - `user_id` integer: The user_id property
  - `project_id` integer: The project_id property
  - `app_ntf_channel_id` integer: The app_ntf_channel_id property
  - `ntf_type` string: The ntf_type property
  - `sub_types` unknown[]: The sub_types property
    - unknown
  - `mode` string: The mode property
  - `enabled` boolean: The enabled property

## Other responses

- `4XX`: The request failed because invalid request parameters or data were supplied or access was denied.
- `5XX`: The request failed because an error occurred during processing of the request.

---

[API](https://skmtc.dev/testiny/apis/testiny-api.md) - [All operations](https://skmtc.dev/testiny/apis/testiny-api/llms.txt) - [OpenAPI document](https://skmtc.dev/testiny/apis/testiny-api/revisions/8f7643b2429d?raw)
