Create a deployment
POST
/api/v1/deployments
const url = 'http://localhost:3000/api/v1/deployments';const options = {method: 'POST', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/v1/deployments \ --header 'X-API-Key: <X-API-Key>'Creates a new deployment.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Deployment created successfully
Bad request - Invalid deployment data
Unauthorized - Invalid or missing authentication
Forbidden — caller lacks required permission