I’m editing ACF Fields with the API. And i need to update acf fields for specific user.
For this i have to use the extension ACF to REST API.
Then i use the endpoint : wp-json/acf/v3/users/(ID) with PUT Method
Doesn’t works and give me the error cant_update_item.
But after few hours I found something really weird that make it works but i can’t use this forever :
I need to put a rule in my ACF configuration like :
USER ACTUEL – IS – CONNECTED
This configuration add all the ACF fields for all elements (post, custom post type…), but let the UPDATE works through the API.
The problem is, i can’t let this fields everywhere. So i need to find a solution
Any idea ?