Onboarding

Ensure the default project

Changed on

Create the organization's default project unless it already has an active one, and return whichever applies. Atomic per organization, so concurrent onboarding surfaces cannot create duplicates. Requires settings write permission.

post/onboarding/ensure-default-project

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/onboarding/ensure-default-project
  • Auth: none declared

Request body

organizationIdstring

Organization to set the default project up for. Auto-filled from CLI and SDK context when omitted.

region'us-east-1' | 'us-east-2' | 'us-west-1' | 'us-west-2' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-south-1' | 'eu-south-2' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3'

AWS region for the project if one has to be created. Ignored when the organization already has a project.

Response

OK

createdboolean required

True when this call created the project; false when the organization already had an active project and that one is returned.

Changes