Skip to content

Transfer an instance

View as Markdown
post /api/organizations/{organizationId}/instances/{instanceId}/transfer

Transfer an instance.

Moves an instance from its current organization to another one. Ownership of the instance - and the product data scoped to it - passes to the target organization identified by organization_id.

Path parameters

NameTypeRequiredDescription
organizationIdstringrequiredOrganizationInstancesResource identifier
instanceIdstringrequiredOrganizationInstancesResource identifier

Request body

PropertyTypeRequiredDescription
organization_idstringrequiredIdentifier of the organization the instance is transferred to. It must already be one of the instance's authorized organizations and must not be the current owner.

Response

200 - Instance successfully transferred

PropertyTypeRequiredDescription
@contextobject-
@idstringrequired
@typestringrequired
idstring | null-Unique identifier of the instance.
namestring | null-Human-readable display name of the instance.
handlestring | null-Stable, URL-safe identifier of the instance. Used as the tenant subdomain when addressing the per-instance product services (e.g. https://acme-eu.product-management.flowkiwi.net). Lowercase letters and hyphens only, no leading or trailing hyphen, unique across all instances.
created_atstring | null-Date and time the instance was created (ISO 8601, UTC).
updated_atstring | null-Date and time the instance was last updated (ISO 8601, UTC).
organization_idstring | null-Identifier of the organization that currently owns the instance.
created_by_organization_idstring | null-Identifier of the organization that originally created the instance. Immutable, it does not change when the instance is transferred to another organization.

Errors

400 - Invalid input

PropertyTypeRequiredDescription
@contextobject-
@idstringrequired
@typestringrequired
titlestring | null-A short, human-readable summary of the problem.
detailstring | null-A human-readable explanation specific to this occurrence of the problem.
statusnumber | null-
instancestring | null-A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
typestring-A URI reference that identifies the problem type

403 - Only organization owners can transfer instances

No response body.

404 - Organization or instance not found

No response body.

409 - Target organization is not authorized or is already the owner

No response body.

422 - An error occurred

PropertyTypeRequiredDescription
@contextobject-
@idstringrequired
@typestringrequired
statusinteger-
violationsobject[]-
Show violations fields
PropertyTypeRequiredDescription
propertyPathstringrequiredThe property path of the violation
messagestringrequiredThe message associated with the violation
codestring-The code of the violation
hintstring-An extra hint to understand the violation
payloadobject-The serialized payload of the violation
detailstring-
typestring-
titlestring | null-
instancestring | null-