Skip to content

Create an instance

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

Create an instance.

Creates a new instance within an organization. Provide a display name and a unique handle. The instance becomes the scope your product data lives in.

Path parameters

NameTypeRequiredDescription
organizationIdstringrequiredOrganizationInstancesResource identifier

Request body

PropertyTypeRequiredDescription
namestringrequiredHuman-readable display name of the instance.
handlestringrequiredStable, 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, max 30 characters, unique across all instances. It cannot be changed after creation.

Response

201 - Instance successfully created

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 create instances

No response body.

404 - Organization not found

No response body.

422 - Validation error

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-