updateConsent
GraphQL Schema
extend type mutation {
updateConsent(input: UpdateConsentInput!): UpdateConsentPayload!
}
Arguments
Name | Type | Description |
---|---|---|
input | [UpdateConsentInput!](/04-reference/05-Input Objects/UpdateConsentInput.mdx) |
Response Shape
This mutation returns UpdateConsentPayload!
Name | Type | Description |
---|---|---|
success | Boolean! | Whether the mutation was successful |
error | ErrorType | Error information |
consent | Consent |