Zum Hauptinhalt springen

Links a container with a project licence

POST/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container/
v2
POST
ai-hosting-project-link-container

Links a container with a project licence. This will emit a WebUiContainerLinkedEvent and update the licence with the container metadata.

Request

  • projectIdstring
    required
  • keyIdstring
    required

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"containerId":"string","ingressId":"string","stackId":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/string/ai-hosting-keys/string/actions/link-container