Skip to main content

unassignBidDeskSeat

Requires permission biddesk:settings:manage.

Takes a person's Bid Desk seat away; it can be assigned again later. Refused with VERSION_CONFLICT when someone changed the seat first. Requires Bid Desk and permission to manage Bid Desk settings.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation UnassignBidDeskSeat($expectedVersion: Int!, $userId: ID!) {
unassignBidDeskSeat(expectedVersion: $expectedVersion, userId: $userId) {
assigned
available
canAddSeats
offer
overAssigned
purchased
apps {
name
installationId
}
}
}

Variables:

{
"expectedVersion": 0,
"userId": "id"
}

Response:

{
"data": {
"unassignBidDeskSeat": {
"assigned": 0,
"available": 0,
"canAddSeats": true,
"offer": "string",
"overAssigned": 0,
"purchased": 0,
"apps": [
{
"name": "string",
"installationId": "id"
}
]
}
}
}
unassignBidDeskSeat(
expectedVersion: Int!
userId: ID!
): BidDeskSeatOverview!

Arguments​

unassignBidDeskSeat.expectedVersion ● Int! non-null scalar​

The seat version the change is based on.

unassignBidDeskSeat.userId ● ID! non-null scalar​

The person whose seat to unassign.

Type​

BidDeskSeatOverview object​

The organization's Bid Desk seats: purchased and assigned counts, who holds one and who can be given one.