For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update approval

Update a single approval

put
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 7
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: ai
idstring · uuidRequiredExample: bf360f31-9794-44b7-99a0-609522105cc9
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: zyb
Body
actioned_bystringOptional

User that approved/rejected the step

Example: John Doe
actioned_by_emailstringOptional

Email of the user that approved/rejected the step

Example: john.doe@example.com
statusstring · enumRequired

Status update to be performed upon the Approval step

Default: pendingExample: rejectedPossible values:
Responses
200

OK response.

No content

put/api/orgs/{org}/projects/{project}/approvals/{id}
PUT /api/orgs/{org}/projects/{project}/approvals/{id} HTTP/1.1
Host: localhost:80
Harness-Account: zyb
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "actioned_by": "John Doe",
  "actioned_by_email": "john.doe@example.com",
  "status": "pending"
}

No content

Last updated

Was this helpful?