Create Gateway
API Gateway is a regional service. To create an instance, you should send a POST request to the appropriate regional endpoint, e.g., Berlin https://apigateway.de-txl.ionos.com
Request
curl -X 'POST' \
'https://apigateway.de-txl.ionos.com/gateways' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"metadata": {},
"properties": {
"name": "APIGateway 1",
"logs": false,
"metrics": false,
"customDomains": [
{
"name": "api.example.com",
"certificateId": "5a029f4a-72e5-11ec-90d6-0242ac120003"
}
]
}
}'Response
201 Gateway successfully created
Last updated
Was this helpful?