removeBidMember
Requires permission biddesk:bid:update.
Removes a person from a bid; adding them again restores the membership. The owner cannot be removed (BID_OWNER_NOT_REMOVABLE). Refused with BID_CLOSED on a closed bid and VERSION_CONFLICT when someone saved first. Requires Bid Desk and permission to update bids.
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:
- GraphQL
- cURL
mutation RemoveBidMember($expectedVersion: Int!, $memberId: ID!) {
removeBidMember(expectedVersion: $expectedVersion, memberId: $memberId) {
id
displayName
createdAt
bidId
role
updatedAt
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation RemoveBidMember($expectedVersion: Int!, $memberId: ID!) {\n removeBidMember(expectedVersion: $expectedVersion, memberId: $memberId) {\n id\n displayName\n createdAt\n bidId\n role\n updatedAt\n }\n}",
"variables": {
"expectedVersion": 0,
"memberId": "id"
}
}
EOF
Variables:
{
"expectedVersion": 0,
"memberId": "id"
}
Response:
{
"data": {
"removeBidMember": {
"id": "id",
"displayName": "string",
"createdAt": "2025-01-15T00:00:00Z",
"bidId": "id",
"role": "APPLICATION_ENGINEER",
"updatedAt": "2025-01-15T00:00:00Z"
}
}
}
removeBidMember(
expectedVersion: Int!
memberId: ID!
): BidMember!
Arguments
removeBidMember.expectedVersion ● Int! non-null scalar
The version the removal is based on.
removeBidMember.memberId ● ID! non-null scalar
The membership to remove.
Type
BidMember object
A staff person working on a bid, in one role.