Admin API/Common objects/Mutations
deliveryApiDisconnect
mutationStops sending by API for this delivery account: its keys are wiped; the account stays for manual parcels.
Returns DeliveryApiPayload!
mutation DeliveryApiDisconnect($carrierAccountId: ID!) {
deliveryApiDisconnect(carrierAccountId: $carrierAccountId) {
result
userErrors {
code
message
field
}
}
}
# Variables
{
"carrierAccountId": "gid://ostorya/CarrierAccount/0f8c5b1e-…"
}Arguments
- carrierAccountIdID!required
Payload
- resultJSON
- userErrors[UserError!]!required