---
title: "Changes the status of specific notification token"
method: POST
path: "/system/notification-tokens/{notification_token_id}/status-changes"
tags: ["Notification Tokens"]
---

# Changes the status of specific notification token

`POST /system/notification-tokens/{notification_token_id}/status-changes`

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string

## Request body

- object
  - `action` 'enable' | 'deprecate' | 'disable', required

## Response `200`

Details about the updated notification token

- object
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `audience` 'candidate' | 'user', required
  - `token` string, required
  - `type` string
  - `status` 'draft' | 'enabled' | 'deprecated' | 'disabled', required

## Other responses

- `304` — No modified. No records were modified based on your query.
- `400` — Notification tokens validation response definition
- `401` — Failed to authenticate the user making the request
- `404` — Resource not found
- `412` — Failed some pre condition on business logic
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
