Help Center/ ServiceStage/ API Reference/ Application Management V3 APIs/ Environment/ Updating an Environment Based on the Environment ID
Updated on 2025-07-10 GMT+08:00

Updating an Environment Based on the Environment ID

Function

This API is used to deliver an environment update job.

URI

POST /v3/{project_id}/cas/environments/{environment_id}/refresh

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Tenant's project ID. See Obtaining a Project ID.

environment_id

Yes

String

Environment ID. See Obtaining All Environments.

Request

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). Default value: application/json;charset=utf8.

X-Auth-Token

Yes

String

API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain the token, see Authentication.

Response

Table 3 Response parameters

Parameter

Type

Description

job_id

String

Update job ID.

environment_id

String

Environment ID.

Example Request

None

Example Response

None

Status Code

Status Code

Description

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

Error Code

See ServiceStage Error Codes.