> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/serverless/api-gateway/dcd-how-tos/create-api-instance.md).

# Create API Instance

To create an API Instance, follow these steps:

1. Log in to the DCD with your username and password.
2. Go to **Menu** > **Management** > **API Gateway**.

![Choose API Gateway](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-af87bc2b6464f4416caa11da387ac1f4023e96a8%2Fapigw-create-instance.png?alt=media)

3. Choose **Create API Instance**.
4. Enter the following details in the **Properties**:

* Name: Provide an appropriate name.
* Region: Enter the location **Germany/Berlin**. Please note that the API Gateway is available only in Berlin.
* Logs: Activate the logs
* Metrics: Activate the metrics

5. **Optional**: Custom Domains

* Domain name: Enter a domain name.
* Choose a SSL certificate. More information about SSL certificates is [<mark style="color:blue;">here</mark>](https://docs.ionos.com/cloud/network-services/certificate-manager/create-ssl-certificates).

6. Click **Create**.

![Create Button](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-8d4647cf9d8fe4b91cbcfb4de92f5429b554f3aa%2Fapigw-create-button.png?alt=media)

{% hint style="info" %}
**Note!:** Please note that activating Logs and Metrics will incur additional costs.
{% endhint %}

You can add new instances and edit the existing ones.

### Delete Instance

To delete an API Instance, follow these steps:

1. Go to **Menu** > **Management** > **API Gateway**.
2. In the list of your instances, choose the one you want to delete and click in the **OPTIONS** column.

![Delete Instance](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-24c50c3b31f566fa4b17ab6c122c06b456caf40f%2Fapigw-delete-instance.png?alt=media)

3. Select **Delete instance** in the dialog box.
4. Choose **Delete** in the window.

![Choose Delete](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-7367c45d6fc7ccddc5a6463e3c04b7be6e1d3710%2Fapigw-confirm-delete.png?alt=media)

{% hint style="info" %}
**Result:** The selected instance will be deleted.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/~/revisions/AMiYziCllTKB2y2lmONY/serverless/api-gateway/dcd-how-tos/create-api-instance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
