Details of the Environment Group to be created
Bad Request
Internal Server Error
If the YAML is valid, returns created Environment Group. If not, it sends what is wrong with the YAML
Sample Environment Group payload
{- "name": "environmentGroup",
- "identifier": "environmentGroupId",
- "orgIdentifier": "default",
- "projectIdentifier": "projectIdentifier",
- "yaml": "environmentGroup:\n name: environmentGroup\n identifier: environmentGroupId\n description: \"\"\n tags: {}\n orgIdentifier: default\n projectIdentifier: projectIdentifier\n envIdentifiers:\n - EnvironmentId1\n - EnvironmentId2\n"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
The saved Environment Group
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the Environment Group to be updated
Bad Request
Internal Server Error
Returns the updated Environment Group
Sample Environment Group payload
{- "name": "environmentGroup",
- "identifier": "environmentGroupId",
- "orgIdentifier": "default",
- "projectIdentifier": "projectIdentifier",
- "yaml": "environmentGroup:\n name: environmentGroup\n identifier: environmentGroupId\n description: \"\"\n tags: {}\n orgIdentifier: default\n projectIdentifier: projectIdentifier\n envIdentifiers:\n - EnvironmentId1\n - EnvironmentId2\n"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns true if the Environment Group is deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
This is the body for the filter properties for listing Environment Groups
Bad Request
Internal Server Error
Returns the list of Environment Groups
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}