Create a new BRE rule
POST/v1/admin/clients/:slug/bre-rules
Creates a new business rule definition. The jdm field must contain a valid JDM (JSON Decision Model) structure.
If the JDM is invalid, a 400 Bad Request is returned.
Request
Responses
- 201
- 400
- 401
- 404
- 422
- 500
- 503
Rule created successfully
Schema validation failed (GEN000000) or invalid JDM structure (BRE000001)
Missing or invalid authentication token (GEN001002) or Role unauthorized (GEN001006) or Tenant context could not be resolved (AUT001001)
Client slug not found (ADM004009)
Capability not configured for this tenant (CRT022003)
Internal server error (GEN100000) or Service error (GEN100001)
All connector targets are currently unhealthy (CRT103001)