Reject Task
This endpoint allows an admin to reject a submitted task.
PUT
/SubmittedTask/RejectTask
Authorization
Authorization
RequiredBearer <token>Authorization header using the Bearer scheme. Example: "Bearer {token}"
In: header
Query Parameters
TaskId
stringThe ID of the task to reject.
Format:
"uuid"
Reason
stringThe reason for rejecting the task.
Returns the rejected task with its details if the rejection is successful.