Create a new rule
POST /api/v1/projects/:project_id/fleets/:fleet_id/rules
Create a new rule in the fleet of the project.
Path Parameters
- project_id string required
Project ID
- fleet_id string required
Fleet ID
- application/json
Request Body required
Rule Create Body
- object
Responses
- 200
- 400
Success" {"ok":1,"data":{"ruleId":"<rule_id>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"code":400,"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...