---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}:setConfig"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}:setConfig"
tags: ["projects"]
deprecated: true
---

# POST /v1/projects/{projectsId}/locations/{locationsId}:setConfig

`POST /v1/projects/{projectsId}/locations/{locationsId}:setConfig`

## Request

- Base URL: `https://datacatalog.googleapis.com`
- URL: `https://datacatalog.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}:setConfig`
- 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`
- TypeScript: <https://skmtc.dev/google/apis/datacatalog/docs/v1/projects/:projectsId/locations/:locationsId:setConfig/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Sets the configuration related to the migration to Dataplex Universal Catalog for an organization or project.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Request body

- GoogleCloudDatacatalogV1SetConfigRequest: Request message for SetConfig.
  - `catalogUiExperience` 'CATALOG_UI_EXPERIENCE_UNSPECIFIED' | 'CATALOG_UI_EXPERIENCE_ENABLED' | 'CATALOG_UI_EXPERIENCE_DISABLED': Opt-in status for the UI switch to Dataplex Universal Catalog.
  - `tagTemplateMigration` 'TAG_TEMPLATE_MIGRATION_UNSPECIFIED' | 'TAG_TEMPLATE_MIGRATION_ENABLED' | 'TAG_TEMPLATE_MIGRATION_DISABLED': Opt-in status for the migration of Tag Templates to Dataplex Universal Catalog.

## Response `200`

Successful response

- GoogleCloudDatacatalogV1MigrationConfig: The configuration related to the migration to Dataplex Universal Catalog applied to an organization or project. It is the response message for SetConfig and RetrieveEffectiveConfig.
  - `catalogUiExperience` 'CATALOG_UI_EXPERIENCE_UNSPECIFIED' | 'CATALOG_UI_EXPERIENCE_ENABLED' | 'CATALOG_UI_EXPERIENCE_DISABLED': Opt-in status for the UI switch to Dataplex Universal Catalog.
  - `tagTemplateMigration` 'TAG_TEMPLATE_MIGRATION_UNSPECIFIED' | 'TAG_TEMPLATE_MIGRATION_ENABLED' | 'TAG_TEMPLATE_MIGRATION_DISABLED': Opt-in status for the migration of Tag Templates to Dataplex Universal Catalog.
  - `templateMigrationEnabledTime` string, google-datetime: The time when the Tag Template migration was enabled. If the Tag Template migration is not enabled, this field is not set.

---

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