API referenceEndpoints
Create a stable rule identity
**Required permission:** `referential.rule:write`
POST
/referential/v1/rulesRequired permission: referential.rule:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*CreateRuleInput
Response Body
*/*
curl -X POST "https://example.com/referential/v1/rules" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "description": "string", "domain": "string", "name": "string" }'{ "code": "string", "created_at": "2019-08-24T14:15:22Z", "description": "string", "domain": "string", "id": "string", "name": "string", "safeguard": true, "settings": [ { "fixed": true, "maximum": {}, "minimum": {}, "name": "string", "path": "string", "reason": "string", "value": {} } ], "status": "active", "updated_at": "2019-08-24T14:15:22Z"}