---
title: "Update Account Notification Policy"
method: PUT
path: "/events/notification/accountPolicy"
tags: ["Notification Subscription Service"]
---

# Update Account Notification Policy

`PUT /events/notification/accountPolicy`

Update the account notification policy
  > **Note:** This service is deprecated. Use the 
  [Notification Center Service](https://spec.dev.spot.io/#tag/Notification-Center-Service).

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `accountPolicy` object
    - `emailPolicy` object
      - `statements` object[]
        - `category` string — Event notification category
        - `subCategory` string — Event notification sub category (should match to the event category)
        - `isEnabled` boolean — Flag to enable/disable the notification statement
        - `applyOnFutureResources` boolean — Flag to set whether to auto apply on newly created resources
        - `allowedResources` object[]
          - `id` string — Set resource ID
        - `deniedResources` object[]
          - `id` string — List of denied resources for the statement settings
    - `slackPolicy` object
      - `statements` object[]
        - `category` string — Event notification category
        - `subCategory` string — Event notification sub category (should match to the event category)
        - `isEnabled` boolean — Flag to enable/disable the notification statement
        - `applyOnFutureResources` boolean — Flag to set whether to auto apply on newly created resources
        - `allowedResources` object[]
          - `id` string — Set resource ID
        - `deniedResources` object[]
          - `id` string — List of denied resources for the statement settings

## Other responses

- `200` — unresolved $ref
- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
