---
title: "PATCH /v1/projects/{projectsId}/locations/{locationsId}/projectConfig"
method: PATCH
path: "/v1/projects/{projectsId}/locations/{locationsId}/projectConfig"
tags: ["projects"]
---

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/projectConfig

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/projectConfig`

## Request

- Base URL: `https://artifactregistry.googleapis.com`
- URL: `https://artifactregistry.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/projectConfig`
- Auth: 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`

Updates the project configuration.

## Path parameters

- `projectsId` string, required
- `locationsId` 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

- ProjectConfig: The Artifact Registry logging configurations that apply to a Project.
  - `name` string: Identifier. The name of the project's configuration. Always of the form: projects/{project}/locations/{location}/projectConfig
  - `platformLogsConfig` PlatformLogsConfig: The platform logs config for a project or a repository.
    - `loggingState` 'LOGGING_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED': Optional. The state of the platform logs: enabled or disabled.
    - `severityLevel` 'SEVERITY_LEVEL_UNSPECIFIED' | 'DEBUG' | 'INFO' | 'NOTICE' | 'WARNING' | 'ERROR' | 'CRITICAL' | 'ALERT' | 'EMERGENCY': Optional. The severity level for the logs. Logs will be generated if their severity level is >= than the value of the severity level mentioned here.

## Response `200`

Successful response

- ProjectConfig: The Artifact Registry logging configurations that apply to a Project.
  - `name` string: Identifier. The name of the project's configuration. Always of the form: projects/{project}/locations/{location}/projectConfig
  - `platformLogsConfig` PlatformLogsConfig: The platform logs config for a project or a repository.
    - `loggingState` 'LOGGING_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED': Optional. The state of the platform logs: enabled or disabled.
    - `severityLevel` 'SEVERITY_LEVEL_UNSPECIFIED' | 'DEBUG' | 'INFO' | 'NOTICE' | 'WARNING' | 'ERROR' | 'CRITICAL' | 'ALERT' | 'EMERGENCY': Optional. The severity level for the logs. Logs will be generated if their severity level is >= than the value of the severity level mentioned here.

---

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