# access_mode on POST /v1_1/{}/{}/upload is deprecated

Cloudinary API deprecated POST /v1_1/{}/{}/upload, body parameter access_mode without giving a shutdown date yet.

- API: Cloudinary API (api.cloudinary.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1_1/{}/{}/upload`, `body parameter access_mode`
- Source: [Announcement](https://cloudinary.com/documentation/image_upload_api_reference)
- Page: https://www.okapi.bot/providers/cloudinary-api/breaking-changes/access-mode-on-post-v1-1-upload-is-deprecated/

## What to use instead

Send access_control (an array of access types, token or anonymous with start and end dates) instead of access_mode.

## Cloudinary API's words

> Note : The access_mode parameter is no longer supported. To restrict access to assets, you can use the access_control parameter.
