Create ingress
post/ingresses
Request body
Example request
{
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
}
}
],
"tags": {
"team": "backend",
"env": "staging"
}
}Response
Ingress created
Example response
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"name": "my-api-ingress",
"tags": {
"team": "backend",
"env": "staging"
},
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
}
}
],
"created_at": "2025-01-15T10:00:00Z"
}