Update status of approver and task.

Prev Next
Patch
/v1/tasks/{task-id}

Update status of approver and task.

Security
API Key: bearerToken
Header parameter nameAuthentication

A JWT bearer token to be passed once authenticated.

Path parameters
task-id
string (uuid) Required

UUID of a task.

Body parameters
object
status
string Required

Approval status.

Valid values[ "APPROVED", "DENIED" ]
denial_reason
string

Reason associated with the denial.

Responses
200

Updated Task status.

Expand All
object
task_id
string (uuid)

Task Id

certificate_id
string (uuid)

Certificate Id in case of certificate issuance task.

node_id
string (uuid)

Compute Node Id.

task_type
string

The types of tasks supported.

Valid values[ "NODE_ATTESTATION", "CERTIFICATE_ISSUANCE", "BUILD_WHITELIST", "DOMAIN_WHITELIST" ]
task_status
object (TaskStatus)

Status info for a task.

created_at
integer (int64)

Task creation time

status_updated_at
integer (int64)

Time since the status change.

status
string

Status string for a task.

Valid values[ "INPROGRESS", "FAILED", "SUCCESS", "DENIED" ]
build_id
string (uuid)

Build Id.