Put /relocation/api/wo/execute Deployment/ {id}
Replace current state with the body of the request
Request
URI
PUT
https://{api_host}/relocation/api/wo/execute-deployment/{id}
COPY
Request Body
DeploymentExecutionState
of type(s)
application/json
Optional
{
"deploymentLink": "string",
"executionId": "string",
"failureMessage": "string",
"taskInfo": {
"durationMicros": 0,
"failure": {
"details": [
"string"
],
"message": "string",
"messageId": "string",
"stackTrace": [
"string"
],
"statusCode": 0
},
"isDirect": false,
"stage": "string"
},
"tenantLink": "string",
"documentSelfLink": "string"
}
string
deploymentLink
Optional
deploymentLink
string
executionId
Optional
executionId
string
failureMessage
Optional
failureMessage
taskInfo
Optional
taskInfo
string
tenantLink
Optional
Link to a tenant
string
documentSelfLink
Optional
documentSelfLink
Responses
200
Success
Returns
DeploymentExecutionState
of type(s)
application/json
"DeploymentExecutionState Object"
string
deploymentLink
Optional
deploymentLink
string
executionId
Optional
executionId
string
failureMessage
Optional
failureMessage
taskInfo
Optional
taskInfo
string
tenantLink
Optional
Link to a tenant
string
documentSelfLink
Optional
documentSelfLink
404
Error
Returns
ServiceErrorResponse
of type(s)
application/json
"ServiceErrorResponse Object"
array of
string
details
Optional
details
string
message
Optional
message
string
messageId
Optional
messageId
array of
string
stackTrace
Optional
stackTrace
integer As int64
As int64
statusCode
Optional
statusCode
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/relocation/api/wo/execute-deployment/{id}