Skip to main content

deleteBidRequirement

Requires permission biddesk:bid:update.

Deletes a requirement and its links; its reference can then be used again. Refused with VERSION_CONFLICT when someone changed it first. Requires Bid Desk and permission to edit 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:

mutation DeleteBidRequirement($input: DeleteBidRequirementInput!) {
deleteBidRequirement(input: $input)
}

Variables:

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

Response:

{
"data": {
"deleteBidRequirement": true
}
}
deleteBidRequirement(
input: DeleteBidRequirementInput!
): Boolean!

Arguments​

deleteBidRequirement.input ● DeleteBidRequirementInput! non-null input​

The requirement and the version the change is based on.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.