Tenant Units
Manage tenant units, including listing all units, creating a new one, retrieving a specific unit, and getting the default tenant unit.
Query parameters
pageintegerOptionalExample:
default to 1 if not passing this query
1pageSizeintegerOptionalExample:
default to 10 if not passing this query
10tenantIdstringRequiredExample:
{{tenantId}}Header parameters
X-Api-KeystringOptionalExample:
the API Key
{{apiKey}}Responses
200Success
application/json
get
/admin/api/v1/tenantUnits200Success
Query parameters
createDefaultAgentbooleanOptionalExample:
FalsecreateDefaultDatasetbooleanOptionalExample:
FalsetenantIdstringRequiredExample:
{{tenantId}}Header parameters
X-Api-KeystringOptionalExample:
the API Key
{{apiKey}}Body
idstringOptional
namestringRequired
parentIdstringOptional
defaultbooleanOptional
Responses
200Success
application/json
post
/admin/api/v1/tenantUnits200Success
Path parameters
tenantUnitIdstringRequiredExample:
{{tenantUnitId}}Query parameters
tenantIdstringRequiredExample:
{{tenantId}}Header parameters
X-Api-KeystringOptionalExample:
the API Key
{{apiKey}}Responses
200Success
application/json
get
/admin/api/v1/tenantUnits/{tenantUnitId}200Success
Last updated
Was this helpful?