# POST /v1_1/{}/resources/{}/upload/update_access_mode is deprecated

Cloudinary API deprecated POST /v1_1/{}/resources/{}/upload/update_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/{}/resources/{}/upload/update_access_mode`
- Source: [Announcement](https://cloudinary.com/documentation/admin_api)
- Page: https://www.okapi.bot/providers/cloudinary-api/breaking-changes/post-v1-1-resources-upload-update-access-mode-is-deprecated/

## What to use instead

Restrict access with access_control instead: set it per asset with the Upload API's explicit method or the Admin API's update resource method (POST /v1_1/{cloud_name}/resources/{resource_type}/{type}/{public_id}).

## Cloudinary API's words

> Updates the access mode of resources (assets) by public ID, by tag, or by prefix. Deprecated.
