---
title: "Update User Marketing Preferences"
method: PUT
path: "/api/v1/admin/users/{user_id}/marketing-preferences"
tags: ["Admin APIs", "users"]
---

# Update User Marketing Preferences

`PUT /api/v1/admin/users/{user_id}/marketing-preferences`

Admin update of a user's marketing subscription state.

This has the same HubSpot effect as if the user updated their own preferences.

## Path parameters

- `user_id` string, required

## Request body

- MarketingPreferencesUpdate
  - `preferences` object, required

## Response `200`

Successful Response

- MarketingPreferencesRead — A simple map of preference code -> opted_in. Today we only use `marketing_all`, but this format supports adding more preference codes in the future.
  - `preferences` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
