Update the approval status of a Task.
Sets the approval status of an existing Task to either Approved or Denied.
Approval status is only supported for project Tasks. Non-project tasks (NPTs) and non-task task types do not support approval and will return a validation error.
This operation is processed as a Changeset to ensure sequential application and concurrency safety.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
taskId
The unique identifier of the Task to update
Headers
x-integration-name
The name of the calling system passed along as a header parameter
Request
The approval status update payload indicating whether the Task is approved or denied.
status
The approval status to apply to the Task. Must be one of: Approved, Denied, or Pending.
Response
Success
error
If the API call failed, this will contain information about the error that occurred.
success
True if the API call succeeded; false otherwise.
hasError
True if the API call failed.
statusCode
The HTTP code of the response.
data
Returns the id of a specific ChangeSet