Delete an In-Memory DB Instance
You can delete an In-Memory DB instance using its UUID. It is found in the response body when an In-Memory DB instance is created or when you fetch a list of In-Memory DB instances.
Endpoint
Use a region-specific endpoint from the following list to delete an instance:
- https://in-memory-db.de-txl.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.de-fra.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.es-vit.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.gb-lhr.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.us-ewr.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.us-las.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.us-mci.ionos.com/replicasets/{replicasetId}
- https://in-memory-db.fr-par.ionos.com/replicasets/{replicasetId}
Request
To delete an In-Memory DB instance, you need the id from your create response.
curl -X 'DELETE' \
  'https://in-memory-db.de-txl.ionos.com/replicasets/498ae72f-411f-11eb-9d07-046c59cc737e' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer $Token' To make authenticated requests to the API, the following fields are mandatory in the request header:
Authorization
yes
string
Provide a header value as Bearer followed by your token.
Content-Type
yes
string
Set this to application/json.
The following path parameter is mandatory:
replicasetId
yes
string
The ID (UUID) of the ReplicaSet. Example: 498ae72f-411f-11eb-9d07-046c59cc737e.
Response
Upon successful deletion, you will receive a 202 Accepted response.
Last updated
Was this helpful?