updateAccountConsents
Update the consents for an account using the consent management system.
Arguments
The account number to update consents for.
Consents to update for account.
Returns
UpdateAccountConsentsUpdate the consents for an account using the consent management system.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateAccountConsents(
$accountNumber: String!,
$consents: [ConsentInput]!
) {
updateAccountConsents(
accountNumber: $accountNumber,
consents: $consents
) {
consents {
...ConsentTypeFragment
}
}
}
Variables
{
"accountNumber": "A-BD173CBC",
"consents": ConsentInput
}
Response
{
"data": {
"updateAccountConsents": {
"consents": [ConsentType]
}
}
}