I'm trying to follow the documentation on this page: Create Map Area—ArcGIS REST API: Packaging Service | ArcGIS for Developers but I get an "Services Directory has been disabled" error message.
I have tried with this WebMap, using POST:
curl -X POST \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F mapItemId=4965122d0a9c4ea187fa643cda58c670 \
And also GET:
Am I doing something wrong?
Thanks in advance,