StopVMDeployOrder - Stop Machine Deployment
|
Applicable editions |
Central edition, Region edition |
Endpoints and Authorization Information
-
Obtain an endpoint to replace {domain} in the API request syntax.
-
Obtain the organizationId. This parameter is required only for Central edition. You can obtain the organization ID from the Basic Information page in the Organization Management console.
|
Product |
Resource |
Required Permissions |
|
Pipeline |
Host deployment |
Read/write |
Request Syntax
Central edition
PUT https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelines/{pipelineId}/deploy/{deployOrderId}/stop
Region edition
PUT https://{domain}/oapi/v1/flow/pipelines/{pipelineId}/deploy/{deployOrderId}/stop
Request Headers
|
Parameter |
Type |
Required |
Description |
Example Value |
|
x-yunxiao-token |
string |
Yes |
Personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request Parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example Value |
|
organizationId |
string |
path |
|
Organization ID. |
5ebbc0228123212b59xxxxx |
|
pipelineId |
string |
path |
Yes |
Pipeline ID. |
123 |
|
deployOrderId |
string |
path |
Yes |
Deployment order ID. |
1111 |
Request Examples
Central edition
curl -X 'PUT' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelines/123/deploy/1111/stop' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'PUT' \
'https://{domain}/oapi/v1/flow/pipelines/123/deploy/1111/stop' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Return Parameters
|
Parameter |
Type |
Description |
Example Value |
|
- |
boolean |
Indicates whether the operation succeeded. |
true |
Return Examples
true
Error Codes
For API error codes, see the Error Code Center.