Upsert a Service
Changed onCreate or Update Service using ID or name.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/services/{ServiceId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"host": "example.internal",
"id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
"name": "example-service",
"path": "/",
"port": 80,
"protocol": "http"
}Response
Successfully upserted Service
Example response
{
"host": "example.internal",
"id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
"name": "example-service",
"path": "/",
"port": 80,
"protocol": "http"
}Changes
- breaking
added
subschema #1subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- breaking
- breaking
the response property
became nullable for the status - info
the request property
became nullable
- breaking