clearSeats
Clears or expires seats on a job.
Arguments
input ClearSeatsInput! Required
Seat-clear input.
seatRemovals [ClearSeatInput!]! Required
Seat removals to process. Accepts one item.
employerJob EmployerJobIdentifierInput! Required
Employer job for the seat.
seatIdentifier SeatIdentifierInput! Required
Seat to remove. Provide one field.
Response
Returns ClearSeatsPayload .results [ClearSeatResult!]! Non-Null
Results for each seat clear.
sourcedPostingId ID! Non-Null
Employer job ID as a UUID.
employerJobId ID! Non-Null
Employer job ID as a base64-encoded IRI.
seatPostingId ID
Agency-provided seat ID.
jobKey ID
Encrypted aggJobId for the seat returned by addSeats.
Pass it to SeatIdentifierInput.jobKey in updateSeats or clearSeats.
If the seat add failed, the value is null.
Example
Query
mutation ClearSeats($input: ClearSeatsInput!) { jobsIngest { clearSeats(input: $input) { results { sourcedPostingId employerJobId seatPostingId jobKey } } }}Variables
{"input": ClearSeatsInput}Response
{ "data": { "jobsIngest": { "clearSeats": {"results": [ClearSeatResult]} } }}