Skip to main content

deleteBidProposalRevision

Requires permission biddesk:proposal:edit.

Deletes a draft revision; its number is not reused. Refused with PROPOSAL_REVISION_LOCKED once released, VERSION_CONFLICT when someone changed it first. Requires Bid Desk and permission to edit proposals.

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 DeleteBidProposalRevision($input: BidProposalRevisionVersionInput!) {
deleteBidProposalRevision(input: $input)
}

Variables:

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

Response:

{
"data": {
"deleteBidProposalRevision": true
}
}
deleteBidProposalRevision(
input: BidProposalRevisionVersionInput!
): Boolean!

Arguments​

deleteBidProposalRevision.input ● BidProposalRevisionVersionInput! non-null input​

The revision and its version.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.