Skip to main content

Create an Ingress

POST/ingresses/
v2
POST
ingress-create-ingress

Request

Responses

application/json

Created

  • idstring (uuid)
    required
  • ownershipobject
    required
    • txtRecordstring
    • verifiedboolean
      required

      Whether the domain ownership is verified or not.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"hostname":"string","paths":[{"path":"string","target":{"directory":"string"}}],"projectId":"f0f86186-0a5a-45b2-aa33-502777496347"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/ingresses