Flight Task/Task Update
Flight Task

Update Flight Task Status

Supports flight task status updates; only single timed, recurring, and continuous task types are supported

put/openapi/v2.0/flight-task/{task_uuid}/status

Request

  • Base URL
    (relative, and it does not resolve against the document’s source URL)
  • URL
    /openapi/v2.0/flight-task/{task_uuid}/status
  • Auth
    none required

Path parameters

task_uuidstring required

Flight Task UUID

Headers

X-User-Tokenstring required
X-Project-Uuidstring required

Project Number

X-Request-Idstring uuid

Request Unique Identifier

X-Language'zh' | 'en'

Language, e.g., zh / en

Request body

status'suspended' | 'restored' required

Task status; only supports status updates before task execution. Once a task is suspended, it will no longer be dispatched to the dock for execution

Response

Success

codeinteger

Non-zero Indicates Exception

messagestring

Message Prompt

Example response

{
  "message": "success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.