Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Learn how to create an API instance.
Learn how to retrieve the API Gateway.
Learn how to ensure the Gateway.
Learn how to delete the specified Gateway.
Learn how to create a new route.
Learn how to retrieve a route.
Learn how to ensure the route.
Learn how to delete a route.
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
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
Result: On a successful POST
request, you receive a response containing the API Gateway ID and the API Gateway details.
201 Gateway successfully created
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
To delete the specified Gateway, you need to use the following DELETE
request:
DELETE /gateways/{apigatewayId}
Result: On a successful DELETE request, you receive a response 202 - Successful.
202 Deleting Gateway was successful
The command ensures the Gateway with the provided ID is created or modified. The full Gateway must be provided to ensure (either update or create) the Gateway. Non-present data will only be filled with defaults or left empty, but previous values will not be taken into consideration.
To ensure the Gateway, you need to use the following PUT
request:
PUT /gateways/{apigatewayId}
200 Gateway successfully updated
201 Gateway successfully ensured
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
To create the object, the full route needs to be provided. Optional data will be filled with defaults or left empty.
To create a new route, you need to use the following POST
request:
POST /gateways/{apigatewayId}/routes
201 Route successfully created
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
To delete the specified route, you need to use the following DELETE
request:
DELETE /gateways/{apigatewayId}/routes/{routeId}
Result: On a successful DELETE request, you receive a response 202 - Successful.
202 Deleting Route was successful
The command ensures that the route with the provided ID is created or modified. The full route must be provided to ensure (either update or create) the route. Non-present data will only be filled with defaults or left empty, but previous values will not be taken into consideration.
To ensure the route, you need to use the following PUT
request:
PUT /gateways/{apigatewayId}/routes/{routeId}
200 Route successfully updated
201 Route successfully ensured