Skip to main content
PUT
/
deploymentStage
/
{deploymentStageId}
/
service
/
{serviceId}
Attach service to deployment stage
curl --request PUT \
  --url https://api.qovery.com/deploymentStage/{deploymentStageId}/service/{serviceId} \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "environment": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      },
      "name": "<string>",
      "description": "<string>",
      "deployment_order": 1,
      "services": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "service_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "service_type": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

deploymentStageId
string<uuid>
required

Deployment Stage ID

serviceId
string<uuid>
required

Service ID of an application/job/container/database

Response

List of deployment stages for the env

results
object[]