Environment

Add multiple Environments

Changed on
post/environments/bulk

Request

  • Base URL
    https://example.app.liongard.com/api/v2
  • URL
    https://example.app.liongard.com/api/v2/environments/bulk
  • Auth
    API key in header X-ROAR-API-KEY

Request body

Namestring
Descriptionstring
Parentunknown
ShortNamestring
Tier'Core' | 'Essentials'

Example request

[
  {
    "Name": "string"
  }
]

Response

Success

Successboolean

Example response

[
  {
    "Success": true,
    "Data": [
      {
        "Name": "Contoso Nation",
        "Visible": true,
        "ExpiresOn": "2018-02-01T18:31:22.896Z",
        "LastKeyRotation": "2018-02-01T18:31:22.896Z",
        "CreatedOn": "2018-02-01T18:31:22.896Z",
        "UpdatedOn": "2018-02-01T18:31:22.896Z",
        "Tier": {
          "CanDownGrade": true
        },
        "UpdatedBy": {
          "FirstName": "John",
          "LastName": "Doe",
          "FullName": "John Doe",
          "Email": "JDoe@contoso.com",
          "Username": "j.doe.contoso",
          "MfaFactorAuth": true,
          "Status": "active",
          "Owner": true,
          "Visibile": true,
          "Locked": true,
          "Department": "Other",
          "ReceiveTechUpdates": true,
          "LastLogin": "2018-02-01T18:31:22.896Z",
          "CreatedOn": "2018-02-01T18:31:22.896Z",
          "UpdatedOn": "2018-02-01T18:31:22.896Z",
          "Groups": []
        },
        "CreatedBy": {
          "FirstName": "John",
          "LastName": "Doe",
          "FullName": "John Doe",
          "Email": "JDoe@contoso.com",
          "Username": "j.doe.contoso",
          "MfaFactorAuth": true,
          "Status": "active",
          "Owner": true,
          "Visibile": true,
          "Locked": true,
          "Department": "Other",
          "ReceiveTechUpdates": true,
          "LastLogin": "2018-02-01T18:31:22.896Z",
          "CreatedOn": "2018-02-01T18:31:22.896Z",
          "UpdatedOn": "2018-02-01T18:31:22.896Z",
          "Groups": []
        }
      }
    ]
  }
]

Changes

    • breaking

      removed the enum value Essential of the request property /

    • breaking

      the / request property type changed from string to no type

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id CreateEnvironmentsBulk removed and replaced with

    • info

      api tag Environment added

    • info

      api tag Environments removed

    • info

      added the new optional request property /

    • info

      the request property / became optional

    • info

      the request property / became optional

    • info

      the request property / became optional

    • info

      added the new Essentials enum value to the request property /

    • info

      added the media type application/xml for the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status