API reference

OpenAPI

Create a sample deployment

/deployments

Generated from OpenAPI 3.1.0
POST/deployments
API

Create a sample deployment

POST /deployments

Request examples are generated from this versioned specification. Execution is disabled.
curl https://api.example.devdocs.ai/deployments \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "target": "preview"
}'
202 OKExample response
content-type
application/json
{}

Parameters

No parameters are required for this operation.

Request body

application/json
branchrequired

string
targetoptional

string · preview | staging | production

Responses

202

Deployment accepted

idrequired

string
statusrequired

string
Feedback

Was this page helpful?

Help us keep Create a sample deployment sharp for readers and API explorers.