---
title: "Update"
method: POST
path: "/api/v1/settings/developer-preferences/user"
tags: ["User Developer Preferences"]
---

# Update

`POST /api/v1/settings/developer-preferences/user`

Update modifies the calling user's developer preferences. See the
 service-level comment for cluster-merge semantics.

## Request body

- C1ApiSettingsV1UpdateUserDeveloperPreferencesRequest — The UpdateUserDeveloperPreferencesRequest message.
  - `terraform` C1ApiSettingsV1TerraformPreferences — TerraformPreferences groups the user's preferences for the "Show Terraform code" feature.
    - `showCode` boolean — When true, the user sees the "Show Terraform code" trigger on supported detail pages and list rows. Defaults to false. Visibility is also role-gated: the trigger is shown only to users with one of the SystemOwner, SystemOwnerReadOnly, IntegrationAdmin, ApplicationAdmin, CampaignAdmin, or AccessRequestAdmin roles. Users without one of these roles will not see the trigger even when this flag is true.

## Response `200`

Successful response

- C1ApiSettingsV1UpdateUserDeveloperPreferencesResponse — The UpdateUserDeveloperPreferencesResponse message.
  - `userDeveloperPreferences` C1ApiSettingsV1UserDeveloperPreferences — UserDeveloperPreferences holds a user's developer-tooling preferences, organized into per-feature clusters.
    - `terraform` C1ApiSettingsV1TerraformPreferences — TerraformPreferences groups the user's preferences for the "Show Terraform code" feature.
      - `showCode` boolean — When true, the user sees the "Show Terraform code" trigger on supported detail pages and list rows. Defaults to false. Visibility is also role-gated: the trigger is shown only to users with one of the SystemOwner, SystemOwnerReadOnly, IntegrationAdmin, ApplicationAdmin, CampaignAdmin, or AccessRequestAdmin roles. Users without one of these roles will not see the trigger even when this flag is true.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d391405a35d3/schema)
