Transfer an instance
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
| Name | Type | Required | Description |
|---|---|---|---|
organizationId | string | required | OrganizationInstancesResource identifier |
instanceId | string | required | OrganizationInstancesResource identifier |
Request body
| Property | Type | Required | Description |
|---|---|---|---|
organization_id | string | required | Identifier 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
| Property | Type | Required | Description |
|---|---|---|---|
@context | object | - | |
@id | string | required | |
@type | string | required | |
id | string | null | - | Unique identifier of the instance. |
name | string | null | - | Human-readable display name of the instance. |
handle | string | 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_at | string | null | - | Date and time the instance was created (ISO 8601, UTC). |
updated_at | string | null | - | Date and time the instance was last updated (ISO 8601, UTC). |
organization_id | string | null | - | Identifier of the organization that currently owns the instance. |
created_by_organization_id | string | null | - | Identifier of the organization that originally created the instance. Immutable, it does not change when the instance is transferred to another organization. |
| Property | Type | Required | Description |
|---|---|---|---|
id | string | null | - | Unique identifier of the instance. |
name | string | null | - | Human-readable display name of the instance. |
handle | string | 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_at | string | null | - | Date and time the instance was created (ISO 8601, UTC). |
updated_at | string | null | - | Date and time the instance was last updated (ISO 8601, UTC). |
organization_id | string | null | - | Identifier of the organization that currently owns the instance. |
created_by_organization_id | string | 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
| Property | Type | Required | Description |
|---|---|---|---|
@context | object | - | |
@id | string | required | |
@type | string | required | |
title | string | null | - | A short, human-readable summary of the problem. |
detail | string | null | - | A human-readable explanation specific to this occurrence of the problem. |
status | number | null | - | |
instance | string | null | - | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
type | string | - | A URI reference that identifies the problem type |
| Property | Type | Required | Description |
|---|---|---|---|
title | string | null | - | A short, human-readable summary of the problem. |
detail | string | null | - | A human-readable explanation specific to this occurrence of the problem. |
status | number | null | - | |
instance | string | null | - | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
type | string | - | 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
| Property | Type | Required | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@context | object | - | |||||||||||||||||||||||||
@id | string | required | |||||||||||||||||||||||||
@type | string | required | |||||||||||||||||||||||||
status | integer | - | |||||||||||||||||||||||||
violations | object[] | - | |||||||||||||||||||||||||
Show | |||||||||||||||||||||||||||
| Property | Type | Required | Description |
|---|---|---|---|
propertyPath | string | required | The property path of the violation |
message | string | required | The message associated with the violation |
code | string | - | The code of the violation |
hint | string | - | An extra hint to understand the violation |
payload | object | - | The serialized payload of the violation |
detailstringtypestringtitlestring | nullinstancestring | null| Property | Type | Required | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
status | integer | - | |||||||||||||||||||||||||
violations | object[] | - | |||||||||||||||||||||||||
Show | |||||||||||||||||||||||||||
| Property | Type | Required | Description |
|---|---|---|---|
propertyPath | string | required | The property path of the violation |
message | string | required | The message associated with the violation |
code | string | - | The code of the violation |
hint | string | - | An extra hint to understand the violation |
payload | object | - | The serialized payload of the violation |
detailstringtypestringtitlestring | nullinstancestring | null