domains
update_domain
Edit a draft, or spin a published version into the next draft. Cost class: fast.
Editing a draft mutates it. Editing a published domain creates version n+1 and leaves version n untouched. Existing workspaces remain pinned to the version selected at creation; the new version is available only to future workspaces.
Args: session: Database session. caller: The authenticated tenant. request: Any subset of the create request. domain_id: The domain version to edit.
Returns: The resulting draft (which may be a new version) and its validation.
Raises: PlatformError: domain_not_found, or access_denied for a platform-owned row.
patch/v1/domains/{domain_id}
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
domain_idstring uuid required
Domain version identifier.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.