UdiWatch

Owner or API key

POST /v1/keys

Create an API key. The full key is returned once. Label is optional. Active keys are capped at 10.

Owner or API key. Body {"label"}. Label is optional and trimmed to 80 characters.

curl -sS -X POST "$BASE/v1/keys" \
  -H "X-API-Key: $UW_KEY" -H 'Content-Type: application/json' \
  -d '{"label":"CI"}'
{"api_key": "uw_…", "label": "CI"}

Store api_key. Later reads only show a prefix. A member is 403. The key cap is 409.

DELETE /v1/users/{id}DELETE /v1/keys/{id}