---
title: "Replace a trust domain"
method: PUT
path: "/domains/{domainId}"
tags: ["TrustDomains"]
---

# Replace a trust domain

`PUT /domains/{domainId}`

Replaces mutable trust-domain metadata and lifecycle status. This operation is evaluated against
the tenant's configured trust-domain administration LOA policy before the replacement is stored.

## Request body

- TrustDomainWrite — unresolved $ref

## Response `200`

Trust domain replaced.

- TrustDomain — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/sphereon-opensource/apis/trust-domain-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/trust-domain-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/trust-domain-api/revisions/b076ec7cca02/schema)
