---
title: "Update notification method"
method: PUT
path: "/rts/notifications/methods/{method_id}/"
tags: ["rts_notification_methods"]
---

# Update notification method

`PUT /rts/notifications/methods/{method_id}/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/rts/notifications/methods/{method_id}/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `notifications_methods_manage`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/rts/notifications/methods/:method_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update notification method

## Path parameters

- `method_id` integer, required

## Request body

- union
  - HttpNotificationMethodChangeObject
    - `name` string: notification method name
    - `type` 'http', required: notification method type
    - `http_method` 'GET' | 'POST' | 'PUT': HTTP method
    - `url` string, uri, required: URL to send the notification to, can be local when Arrow client is used
    - `arrow_client` string, uuid, nullable: Arrow client UUID we want to send the notification through
    - `signature_private_key` string: Private key to sign the notification
  - EmailNotificationMethodChangeObject
    - `name` string: notification method name
    - `type` 'email', required: notification method type
    - `email` string, email, required: email address

## Response `200`

OK

- union
  - HttpNotificationMethodObject
    - `id` integer, required: notification method ID
    - `name` string, required: notification method name
    - `type` 'http', required: notification method type
    - `http_method` 'GET' | 'POST' | 'PUT', required: HTTP method
    - `url` string, uri, required: URL to send the notification to, can be local when Arrow client is used
    - `arrow_client` string, uuid, nullable, required: Arrow client UUID we want to send the notification through
    - `signature_private_key` string, required: Private key to sign the notification
  - EmailNotificationMethodObject
    - `id` integer, required: notification method ID
    - `name` string, required: notification method name
    - `type` 'email', required: notification method type
    - `email` string, email, required: email address

## Other responses

- `400`: Query params are invalid.
- `401`: Missing or invalid authorization.
- `403`: Missing permission.
- `404`: The specified resource was not found

---

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