Update Multiple Candidates Status
PATCH /candidates/status
PATCH
/candidates/status
Update the status of multiple candidates at once (e.g., to “Hired” or “Rejected”). Authorization: Users can only update candidates from offices they have access to. If any candidate belongs to an unauthorized office, the entire request is rejected with 401 Unauthorized. All candidate IDs must exist, otherwise a 404 Not Found is returned.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”Bulk candidate status update request
object
candidateIds
required
Array<string>
status
required
string
Responses
Section titled “ Responses ”No Content - Successfully updated candidates
Bad request (e.g., invalid candidate IDs, invalid status, or binding/validation errors)
object
error
string
Unauthorized (e.g., missing/invalid user id or user lacks access to one or more offices)
object
error
string
Not Found (e.g., one or more candidates not found)
object
error
string
Internal Server Error (e.g., database error)
object
error
string