---
title: "PATCH /v1/organizations/{organizationsId}/organizationSettings"
method: PATCH
path: "/v1/organizations/{organizationsId}/organizationSettings"
tags: ["organizations"]
deprecated: true
---

# PATCH /v1/organizations/{organizationsId}/organizationSettings

`PATCH /v1/organizations/{organizationsId}/organizationSettings`

## Request

- Base URL: `https://securitycenter.googleapis.com`
- URL: `https://securitycenter.googleapis.com/v1/organizations/{organizationsId}/organizationSettings`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/securitycenter`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/securitycenter`

> **Deprecated.**

## Path parameters

- `organizationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `updateMask` string, google-fieldmask

## Request body

- OrganizationSettings
  - `assetDiscoveryConfig` AssetDiscoveryConfig
    - `folderIds` string[]
    - `inclusionMode` 'INCLUSION_MODE_UNSPECIFIED' | 'INCLUDE_ONLY' | 'EXCLUDE'
    - `projectIds` string[]
  - `enableAssetDiscovery` boolean
  - `name` string

## Response `200`

Successful response

- OrganizationSettings
  - `assetDiscoveryConfig` AssetDiscoveryConfig
    - `folderIds` string[]
    - `inclusionMode` 'INCLUSION_MODE_UNSPECIFIED' | 'INCLUDE_ONLY' | 'EXCLUDE'
    - `projectIds` string[]
  - `enableAssetDiscovery` boolean
  - `name` string

## Changes

- **2026-11-14** `c55a92eb682a`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/securitycenter` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/securitycenter` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/securitycenter/changes/v1/organizations/:organizationsId/organizationSettings/patch.md)

---

[API](https://skmtc.dev/google/apis/securitycenter.md) - [All operations](https://skmtc.dev/google/apis/securitycenter/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/securitycenter/revisions/c55a92eb682a?raw)
