---
title: "PUT /api/v1/push-notifications/{pk}/"
method: PUT
path: "/api/v1/push-notifications/{pk}/"
tags: ["push-notifications"]
---

# PUT /api/v1/push-notifications/{pk}/

`PUT /api/v1/push-notifications/{pk}/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/push-notifications/{pk}/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/push-notifications/:pk/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the device name and associated contacts for a push notification device

**NOTE** You may identify the object by PK or UUID

## Path parameters

- `pk` string, required

## Request body

- PushNotificationProfile
  - `pk` integer
  - `url` string
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `uuid` string
  - `user` string
  - `device_name` string, required
  - `display_name` string
  - `contact_groups` string[], required: Array of contact names or IDs to this push notification will receive alerts for.
  - `is_errored` boolean: True when alerts stopped because the device no longer accepts push notifications. Change any notification setting in the Uptime.com app on the device, or update this profile, to re-enable it.

## Response `200`

- PushNotificationProfile
  - `pk` integer
  - `url` string
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `uuid` string
  - `user` string
  - `device_name` string, required
  - `display_name` string
  - `contact_groups` string[], required: Array of contact names or IDs to this push notification will receive alerts for.
  - `is_errored` boolean: True when alerts stopped because the device no longer accepts push notifications. Change any notification setting in the Uptime.com app on the device, or update this profile, to re-enable it.

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
