# Apply a data catalog update (/docs/reference/Rest-API/api-docs/data-catalogs/applyDataCatalogUpdate)


{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

## POST /v2/organizations/{organizationid}/data-catalogs/{catalogid}/update

`POST https://api.verdocs.com/v2/organizations/{organizationid}/data-catalogs/{catalogid}/update`

### Path parameters

- `organizationid` (string, required)
- `catalogid` (string, required)

### Request body

Content type `application/json`, required. Body Parameters.

- `resolutions` (object): By key, "source" or "local".

### Responses

#### 200: Success

Content type `application/json`.

Type: `IDataCatalog`

- `created_at` (string, required): When the catalog was created.
- `description` (string, required): What the catalog is for.
- `entries` (string): The entries (when getting one catalog). Members see live entries and their own proposals; admins see every proposal.
- `entry_count` (integer): How many live entries it has (in lists).
- `has_unreleased_changes` (boolean): For a shared or previously released catalog, whether its live entries differ from its latest release.
- `id` (string, required): The catalog's ID.
- `is_default` (boolean): Whether this is the organization's default catalog.
- `latest_version` (integer, required): The newest released version, 0 until the first release.
- `name` (string, required): The catalog's name.
- `organization_id` (string, required): The organization that owns it.
- `sharing` (string, required): "shared" makes released versions available to every organization below this one.
- `source` (string, required): How it started: from scratch, from an import, or from the marketplace.
- `source_catalog_id` (string, required): For a catalog imported from the marketplace, the catalog it came from.
- `source_version` (string, required): The source version this catalog was imported or last updated from.
- `update_available` (boolean): For an imported catalog, whether its source has released a newer version.
- `updated_at` (string, required): When the catalog last changed.

#### 400: Request Error

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 401: Access Denied

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 404: Not Found

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

#### 406: Invalid Parameter

Content type `application/json`.

- `status` (string, required): Always set to "ERROR". One of: `"ERROR"`.
- `error` (string, required): Description of the error that occurred.

### Example request

```bash
curl -X POST "https://api.verdocs.com/v2/organizations/ORGANIZATIONID/data-catalogs/CATALOGID/update" \
    -H "Authorization: Bearer ACCESS_TOKEN" \
    -H "content-type: application/json" \
    -d '{"param": "value"}'
```
