Updated on 2023-11-28 GMT+08:00

Reject to Manual Review

Function

Reject to Manual Review

URI

POST /v5/{project_id}/api/pipelines/{pipeline_id}/pipeline-runs/{pipeline_run_id}/jobs/{job_run_id}/steps/{step_run_id}/refuse

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

job_run_id

Yes

String

Indicates the pipeline task ID.

step_run_id

Yes

String

Pipeline Step ID

project_id

Yes

String

Project ID.

pipeline_id

Yes

String

Pipeline ID

pipeline_run_id

Yes

String

Pipeline running instance ID

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

success

Boolean

Whether the operation is successful

Example Requests

POST https://v5/d80a8a6530324b7bac972cbb8a9f28ec/api/pipelines/8bfbd69eac154a0da341705a36294aca/pipeline-runs/12abeb9da0964cf3bd3ffd6813153e12/jobs/97b4991cf3374d8d96e08b38f79c8827/steps/6ff8e898026447a9a3eaa592e94b9384/refuse

Example Responses

Status code: 200

OK

{
  "success" : true
}

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.