Skip to main content

Create a tenant group

POST 

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

x-public: "true"

Creates a tenant group if it doesn't exist. Will use msspId from the auth token if available.

Request

Path Parameters

    mssp-id stringrequired

    the id mssp the tenant group belongs to

Body

required
    groupName stringrequired

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

    tenantIds string[]

Responses

OK

Schema
    id uuid
    groupName string
    tenants object[]
  • Array [
  • externalTenantId string
    prismaId string
  • ]
  • createdAt int64
    createdBy string
Loading...