Create a new fleet
POST /projects/:project_id/fleets
Creates a new fleet into the project.
Path Parameters
- project_id string required
Project ID
- application/json
Request Body required
Fleet Body
- fleet_description string
- fleet_name string required
- org_id string
- project_id string
- shadow_definition_id string required
Responses
- 200
- 400
- 401
- 403
Success" {"ok":1,"data":{"fleetId":"<fleet_id>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Bad Request" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Unauthorized" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Forbidden" {"ok":0,"error":{"message":"<error_message>"}}
- application/json
- Schema
- Example (from schema)
Schema
{}
Loading...