post https://{tenant}/myaccount/api/v1/consents//optIn
You can accept a consent for the authenticated account by calling this endpoint.
To use this endpoint, the "Allow customers to manage their consents" option must be turned on in the Self-service policy settings.