# name on POST /api/v2/projects/{}/snapshots/{}/restore is deprecated

Neon API deprecated POST /api/v2/projects/{}/snapshots/{}/restore, query parameter name without giving a shutdown date yet.

- API: Neon API (console.neon.tech)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v2/projects/{}/snapshots/{}/restore`, `query parameter name`
- Source: [Announcement](https://neon.com/api_spec/release/v2.json)
- Page: https://www.okapi.bot/providers/neon-api/breaking-changes/name-on-post-api-v2-projects-snapshots-restore-is-deprecated/

## What to use instead

Send name in the JSON request body instead of the query string.

## Neon API's words

> Deprecated. Use the `name` field in the request body instead.
