Arm and Disarm the Blink System
devYou can programmatically arm or disarm your Blink network to start or stop recording and reporting motion events.
Note on Asynchronous Execution:
Calling the /arm or /disarm endpoints does not mean the command has completed. The response will contain a command/request ID. You must capture this ID and poll the Command Status endpoint to verify when the operation has successfully finished.
# Arm the network
curl -H "Host: prod.immedia-semi.com" -H "TOKEN_AUTH: *authtoken from login*" --data-binary --compressed https://rest.prod.immedia-semi.com/network/*network_id*/arm
# Disarm the network
curl -H "Host: prod.immedia-semi.com" -H "TOKEN_AUTH: *authtoken from login*" --data-binary --compressed https://rest.prod.immedia-semi.com/network/*network_id*/disarm