Data Planes
Create or update a data plane
Changed onIdempotent create-or-update. Uses the id field in the body to identify the data plane within the environment. The type is immutable, and the organization and environment come from the path. An id: reference updates a data plane the Automation API does not manage, and cannot create one.
put/organizations/{orgId}/environments/{envId}/dataplanes
Request
- Base URLhttp://localhost:8093/automation
- URLhttp://localhost:8093/automation/organizations/{orgId}/environments/{envId}/dataplanes
- AuthHTTP bearer
Path parameters
orgIdstring required
Identifier of the organization that owns the environment.
envIdstring required
Identifier of the environment the resource belongs to.
Request body
Example request
{
"configuration": {
"mongodb": {
"dbname": "gravitee-am-acme",
"host": "mongo",
"port": 27017
}
},
"database": "gravitee-am-acme",
"environmentId": "DEFAULT",
"gatewayUrl": "https://gateway-eu.example.com",
"hosts": [
"mongo:27017"
],
"id": "acme-eu",
"name": "ACME EU data plane",
"organizationId": "DEFAULT",
"type": "mongodb"
}Response
The created or updated data plane
Example response
{
"configuration": {
"mongodb": {
"dbname": "gravitee-am-acme",
"host": "mongo",
"port": 27017
}
},
"database": "gravitee-am-acme",
"environmentId": "DEFAULT",
"gatewayUrl": "https://gateway-eu.example.com",
"hosts": [
"mongo:27017"
],
"id": "acme-eu",
"name": "ACME EU data plane",
"organizationId": "DEFAULT",
"type": "mongodb"
}Changes
- info
endpoint added
- info