# POST /youtube/v3/comments/markAsSpam stops working

Calls to POST /youtube/v3/comments/markAsSpam on YouTube Data API stopped working on September 12, 2023.

On September 12, 2023, the endpoint POST /youtube/v3/comments/markAsSpam was removed and is no longer supported. Calls to this endpoint fail. YouTube Data API noted that this method is already unsupported on YouTube and through the API.

## What to use instead

There is no replacement available, and callers must stop calling comments.markAsSpam.

- API: YouTube Data API (youtube.googleapis.com)
- Kind: Endpoint removal
- Announced: September 12, 2023
- Takes effect: September 12, 2023
- Calls after that day: fail
- Calls it hits: `POST /youtube/v3/comments/markAsSpam`
- Source: [Announcement](https://developers.google.com/youtube/v3/revision_history)
- Verified: November 6, 2026, against YouTube Data API's own pages
- Page: https://www.okapi.bot/providers/youtube-data-api/breaking-changes/post-youtube-v3-comments-markasspam-stops-working/

## YouTube Data API's words

> This method is already unsupported on YouTube and is no longer supported through the API.

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