Fleets

Create a Fleet

Create a fleet. A fleet is a top-level object; you must create child resources to work properly.

post/v1/fleet

Request

  • Base URL: https://api.edgegap.com
  • URL: https://api.edgegap.com/v1/fleet
  • Auth: API key in header authorization

Request body

namestring required

Name of the Fleet

enabledboolean

If the Fleet is enabled. Defaults to false.

Example request

{
  "name": "fleet_name"
}

Response

Success

namestring required

Name of the Fleet

enabledboolean

If the Fleet is enabled. Defaults to false.

create_timestring

UTC time of fleet creation

last_updatedstring

UTC time of fleet last update

Example response

{
  "name": "fleet_name",
  "create_time": "2022-01-01 00:00:00.000000",
  "last_updated": "2022-01-01 00:00:00.000000"
}

Changes

No recorded changes to this operation across all 1 revision of this API.