Method: OpenapiClient::TenantsApi#update_tenant

Defined in:
lib/openapi_client/api/tenants_api.rb

#update_tenant(proj_id, env_id, tenant_id, tenant_update, opts = {}) ⇒ TenantRead

Update Tenant Partially updates the tenant definition. Fields that will be provided will be completely overwritten.

Parameters:

  • proj_id (String)

    Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

  • env_id (String)

    Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

  • tenant_id (String)

    Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the "slug").

  • tenant_update (TenantUpdate)
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



525
526
527
528
# File 'lib/openapi_client/api/tenants_api.rb', line 525

def update_tenant(proj_id, env_id, tenant_id, tenant_update, opts = {})
  data, _status_code, _headers = update_tenant_with_http_info(proj_id, env_id, tenant_id, tenant_update, opts)
  data
end