# PATCH /v1/agents/{}/status is deprecated

Notion API deprecated PATCH /v1/agents/{id}/status without giving a shutdown date yet.

## What to use instead

Send {"status": "active"} or {"status": "disabled"} to PATCH /v1/agents/{} (Update an agent); its response and one error code differ.

- API: Notion API (api.notion.com)
- Kind: Endpoint removal
- Announced: November 2, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `PATCH /v1/agents/{id}/status`
- Source: [Announcement](https://developers.notion.com/page/changelog)
- Verified: November 6, 2026, against Notion API's own pages
- Page: https://www.okapi.bot/providers/notion-api/breaking-changes/patch-v1-agents-status-is-deprecated/

## Notion API's words

> Update agent status is now deprecated. Send status to Update an agent instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
