ACL via REST API

#1

I can’t figure out how to update the ACL of a device via the REST API. The documentation states that this is possible, but does not explain any further. Can someone help me?

Thank you!

#2

In the following command, put your own API_KEY, DEVICE_ID and YOUR_NEW_ACL:

curl \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer API_KEY' \
  -d '{"acl":{...YOUR_NEW_ACL...}}' \
  https://mdash.net/api/v2/devices/DEVICE_ID
1 Like
#3

https://mdash.net/docs/#using-rest-api