Bootstrap a hosted tenant with first admin user

post/tenant/bootstrap

Request

  • Base URL: https://api.gravityads.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.gravityads.dev/tenant/bootstrap
  • Auth: HTTP bearer

Request body

tenant_namestring
plan_idstring
admin_user_idstring
admin_email_hashstring
oidc_substring
feishu_open_idstring
display_namestring
create_subscriptionboolean
subscription_statusstring
providerstring
provider_customer_idstring
provider_subscription_idstring
currencystring
current_period_startstring date-time
current_period_endstring date-time
trial_startstring date-time
trial_endstring date-time

Response

Tenant bootstrapped

status'tenant_bootstrapped' | 'tenant_bootstrapped_checkout_setup_required' | 'tenant_bootstrapped_checkout_failed' | 'tenant_bootstrap_failed' | 'tenant_bootstrap_degraded' | 'tenant_bootstrap_unconfigured' required
tenant_idstring
admin_user_idstring
planobject
subscription_createdboolean
subscriptionobject
usersobject[]
user_countinteger
database_url_configuredboolean
checkout_requestedboolean
error_codestring
messagestring
retryboolean
billing_setup_requiredboolean
self_service_checkout_readyfalse
payment_collection_blockedboolean
tenant_bootstrappedboolean
internal_trial_activeboolean
safe_to_continue_read_only_setupboolean
raw_price_ids_returnedfalse
raw_secrets_returnedfalse required

Changes

No recorded changes to this operation across all 1 revision of this API.