Skip to main content

Deploy application to environment

POST 

https://api.cloud.codenow.com/applications/:applicationId/deployments

Deploy application to environment

Request

Path Parameters

    applicationId stringrequired

    Possible values: non-empty

Header Parameters

    X-Codenow-Api-Key anyrequired

    CodeNOW API Key

Body

required

    environmentId stringrequired

    Possible values: non-empty


    The unique identifier of the environment the application should be deployed to.
    To obtain this identifier, use the GET /applications/:applicationId/related-environments operation to retrieve a list of available related environments.

    version stringrequired

    Possible values: non-empty


    The application package version to be deployed.

Responses

application-deployment-create 200 response

Schema

    status stringrequired

    Possible values: non-empty

curl -L 'https://api.cloud.codenow.com/applications/:applicationId/deployments' \
-H 'Content-Type: application/vnd.codenow.v1+json' \
-H 'Accept: application/vnd.codenow.v1+json' \
-d '{
"environmentId": "string",
"version": "string"
}'
Request Collapse all
Base URL
https://api.cloud.codenow.com
Parameters
— pathrequired
— headerrequired
Body required
{
"environmentId": "string",
"version": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!