Interlaken
API referenceComputeContainers

List databases attached to a container

GET
/api/v1/containers/{id}/attachments

Requires the containers:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/containers/string/attachments"
{  "databases": [    {      "database_id": "91088904-0b92-46ad-9240-e1afa0da22df",      "engine": "string",      "env_var": "string",      "name": "string"    }  ]}