Revoke a device
DELETE
/devices/{deviceID}Revoke the device's API key. The device will receive 401 on its next request.
Auth:
BearerPath parameters
deviceIDuuidrequired
Request
bash
curl -sS -X DELETE "https://phosra-api-sandbox-production.up.railway.app/api/v1/devices/d1e2f3a4-5b6c-4d7e-8f90-a1b2c3d4e5f6" \
-H "Authorization: Bearer $PHOSRA_API_KEY"