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
the id of the MSSP of interest
- application/json; charset=UTF-8
Body
required
- Array [
- ]
Possible values: >= 3 characters
and <= 63 characters
Possible values: >= 3 characters
and <= 63 characters
Possible values: [RS_STANDARD
, RS_FOUNDATION
, RS_ADVANCED
]
contactInfo objectrequired
Possible values: non-empty
and <= 63 characters
Possible values: non-empty
and <= 63 characters
Possible values: non-empty
and <= 128 characters
licenseInfo objectrequired
Possible values: >= 1
modules object[]
Possible values: Value must match regular expression iam-security
additionalData object
Responses
- 202
- 400
- 404
- 429
Accepted. Tenant Creation has async components
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
Possible values: [ACTIVE
, PROVISIONING
, UPDATING
, DELETING
, DELETED
, OFFBOARDING
, ERRORED
]
Possible values: [RS_STANDARD
, RS_FOUNDATION
, RS_ADVANCED
]
contactInfo object
Possible values: non-empty
and <= 63 characters
Possible values: non-empty
and <= 63 characters
Possible values: non-empty
and <= 128 characters
tenantLicense object
modules object[]
Possible values: [TRIAL
, BUY
]
Possible values: [PROVISION_STARTED
, PROVISION_SUCCESSFUL
, PROVISION_FAILED
]
additional_data object
{
"prismaId": "string",
"externalTenantId": "string",
"customerName": "string",
"companyName": "string",
"status": "ACTIVE",
"isSynthetic": true,
"wasMigrated": true,
"msspId": "string",
"tenantGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"planType": "RS_STANDARD",
"contactInfo": {
"firstName": "string",
"lastName": "string",
"email": "string"
},
"stack": "string",
"region": "string",
"baseApiUrl": "string",
"tenantLicense": {
"tenantLicenseId": "string",
"serialNumber": "string",
"licensePoolId": "string",
"allocatedCredits": 0,
"startDate": 0,
"endDate": 0
},
"createdBy": "string",
"createdAt": 0,
"modules": [
{
"feature_name": "string",
"enabled": true,
"billing_type": "TRIAL",
"state": "PROVISION_STARTED",
"additional_data": {}
}
],
"erroredBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Client error. One of the required arguments is missing or fails a constraint
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
The MSSP does not exist
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Rate limiting
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}