typestring (enum)Required: Yes"email"Identifier kind. Allowed: "email", "phone". Validated via binding:"required,oneof=email phone" — invalid values return HTTP 400 with {"detail":"Type must be one of [email phone]"}.
curl --request POST \
--url https://api.openmart.ai/api/v2/deny-rules \
--header 'Accept: application/json' \
--header 'X-API-Key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{"type":"email","values":["blocked@example.com"]}'