Skip to main content
POST
Save the current account marketing consent preferences.
Save the current account marketing consent preferences. Requires a scoped personal key, the authenticated account, and account.write. Current role and credential grants remain enforced. See Agent messaging and project operations for authorization and recovery.

Authorizations

Authorization
string
header
required

Integration key for backend workloads, or a scoped personal key (sr_user_) for account discovery and supported project operations. MCP accepts only personal keys.

Body

application/json
analytics
boolean
required

Allow analytics.

advertising
boolean
required

Allow advertising.

version
string
required

Consent policy version.

Required string length: 1 - 64

Response

Authorized result, preparation, or durable execution receipt.

status
integer
required
data
object
required