Skip to main content

Create a new managed tenant

POST 

/api/v1/mssp/:mssp-id/managed-tenant

x-public: "true"

Creates a new managed tenant belonging to the MSSP.

Request

Path Parameters

    mssp-id stringrequired

    the id of the MSSP of interest

Body

required
    name stringrequired

    Possible values: >= 3 characters and <= 63 characters

    companyName stringrequired

    Possible values: >= 3 characters and <= 63 characters

    region stringrequired
    tenantGroupId uuid
    planType stringrequired

    Possible values: [RS_STANDARD, RS_FOUNDATION, RS_ADVANCED]

    contactInfo objectrequired
    firstName stringrequired

    Possible values: non-empty and <= 63 characters

    lastName stringrequired

    Possible values: non-empty and <= 63 characters

    email stringrequired

    Possible values: non-empty and <= 128 characters

    licenseInfo objectrequired
    licensePoolId stringrequired
    allocatedCredits int32required

    Possible values: >= 1

    modules object[]
  • Array [
  • featureName stringrequired

    Possible values: Value must match regular expression iam-security

    enabled booleanrequired
    additionalData object
    property name* object
  • ]

Responses

Accepted. Tenant Creation has async components

Schema
    prismaId string
    externalTenantId string
    customerName string
    companyName string
    status string

    Possible values: [ACTIVE, PROVISIONING, UPDATING, DELETING, DELETED, OFFBOARDING, ERRORED]

    isSynthetic boolean
    wasMigrated boolean
    msspId string
    tenantGroupId uuid
    planType string

    Possible values: [RS_STANDARD, RS_FOUNDATION, RS_ADVANCED]

    contactInfo object
    firstName stringrequired

    Possible values: non-empty and <= 63 characters

    lastName stringrequired

    Possible values: non-empty and <= 63 characters

    email stringrequired

    Possible values: non-empty and <= 128 characters

    stack string
    region string
    baseApiUrl string
    tenantLicense object
    tenantLicenseId string
    serialNumber string
    licensePoolId string
    allocatedCredits int32
    startDate int64
    endDate int64
    createdBy string
    createdAt int64
    modules object[]
  • Array [
  • feature_name stringrequired
    enabled boolean
    billing_type string

    Possible values: [TRIAL, BUY]

    state string

    Possible values: [PROVISION_STARTED, PROVISION_SUCCESSFUL, PROVISION_FAILED]

    additional_data object
    property name* object
  • ]
  • erroredBy uuid
Loading...