Skip to main content
POST
Apply a DeploymentSpec

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Stable key used to adopt the original durable operation after retries or disconnects.

Maximum string length: 128

Body

application/json
model
string
required
name
string
required
targets
string[]
required
Minimum array length: 1
autoscaling_enabled
boolean
endpoint_name
string

Stable application endpoint alias. Defaults to the deployment name.

Pattern: ^[a-z0-9](?:[a-z0-9._-]{0,62}[a-z0-9])?$
max_replicas
integer
Required range: x >= 0
min_replicas
integer
Required range: x >= 0
routing_strategy
string

Response

Durable operation accepted

operation
object
required
created
boolean