---
title: "Update a single marketplace domain."
method: PUT
path: "/marketplace/domains/{domain_id}"
tags: ["Marketplace"]
---

# Update a single marketplace domain.

`PUT /marketplace/domains/{domain_id}`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/marketplace/domains/{domain_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/marketplace/domains/:domain_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to update a marketplace domain. You need a manage permission for the domain.

## Path parameters

- `domain_id` integer, required

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Request body

- MarketplaceDomainCreate
  - `org_id` integer, nullable
  - `owner_id` integer, nullable
  - `name` string
  - `description` string
  - `parent_id` integer: ID of the parent domain. Domains may build a hierarchy.
  - `custodians` object[]
    - `id` integer
    - `email` string

## Response `200`

Single marketplace domain

- MarketplaceDomain
  - `id` integer
  - `org_id` integer, nullable
  - `owner_id` integer, nullable
  - `name` string
  - `description` string
  - `parent_id` integer: ID of the parent domain. Domains may build a hierarchy.
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
