UdiWatch

Owner or API key

DELETE /v1/keys/{id}

Revoke an API key by id. Revoked keys fail closed. Watches stay. Sessions keep working.

Owner or API key. Sets revoked_at. Revoked keys fail closed. Watches stay on the account. You may revoke every key. Sessions keep working.

curl -sS -X DELETE "$BASE/v1/keys/2" -H "X-API-Key: $UW_KEY"

The response is the account object, with that key marked revoked. A member is 403. A non-numeric id is 400.

POST /v1/keysGET /v1/search