muteBid
Requires permission biddesk:bid:read.
Mutes a bid for you: hand-off notices for it stop and mention and approval notices move to your digest. Muting twice is fine. A bid you cannot see is not found. Requires Bid Desk and permission to read 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 MuteBid($bidId: ID!) {
muteBid(bidId: $bidId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation MuteBid($bidId: ID!) {\n muteBid(bidId: $bidId)\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"muteBid": true
}
}
muteBid(
bidId: ID!
): Boolean!
Arguments
muteBid.bidId ● ID! non-null scalar
The bid to mute.
Type
Boolean scalar
The Boolean scalar type represents true or false.