List tenant service group children
POST/tenancy/v1/tenant_service_groups/:tsg_id/operations/list_children
List the child tenants of the tenant service group specified in this request. If the TSG ID supplied in this API's path does not match the TSG ID contained in the access token used to authenticate this request, this request will fail.
Request
Path Parameters
Possible values: >= 10 characters
and <= 10 characters
, Value must match regular expression ^1[0-9]+$
A unique identifier for the tenant service group.
Query Parameters
If true
, return the entire descendent hierarchy.
If false
, return only the immediate children of the
TSG identified in this call's path. Default is
false
.
Indicates if the TSG used to generate this hierarchy is
included in the resulting TSG list. true
to include
self. Default is false
.
Responses
- 200
- 401
- 403
- 404
- 500
Successful response.
- application/json
- Schema
- Example (from schema)
- list_children
- list_children?fields=id
- list_children?hierarchy=true
- list_children?hierarchy=true&include_self=true
Schema
- Array [
- ]
Total count of the items
items object[]required
The tenant service group's display name.
Possible values: >= 10 characters
and <= 10 characters
, Value must match regular expression ^1[0-9]+$
The tenant service group's ID.
Possible values: >= 10 characters
and <= 10 characters
, Value must match regular expression ^1[0-9]+$
The TSG ID for this tenant service group's parent.
The email address of the person or organization that should be contacted for support of this TSG.
Possible values: [High Tech
, Education
, Manufacturing
, Hospitality
, Professional & Legal Services
, Wholesale & Retail
, Finance
, Telecommunications
, State & Local Government
, Transportation & Logistics
, Federal Government
, Media & Entertainment
, Nonclassifiable Establishments
, Healthcare
, Utilities & Energy
, Insurance
, Agriculture
, Pharma & Life Sciences
, Construction
, Aerospace & Defense
, Real Estate
, Restaurant/Food Industry
, Other
]
A token that identifies the business vertical supported by the Strata Cloud Manager products managed by this TSG.
{
"count": 1
}
{
"count": "2",
"items": [
{
"display_name": "Child TSG 1",
"id": "1957242655",
"parent_id": "1374575467",
"support_contact": "user@example.com",
"vertical": "High Tech"
},
{
"display_name": "Child TSG 1",
"id": "1739543876",
"parent_id": "1374575467"
}
]
}
{
"count": "2",
"items": [
{
"id": "1957242655"
},
{
"id": "1739543876"
}
]
}
{
"count": "3",
"items": [
{
"children": [
{
"id": "1626857948",
"name": "Grandchild TSG",
"parent_id": "1957242655",
"support_contact": "user@example.com"
}
],
"display_name": "Child TSG 1",
"id": "1957242655",
"parent_id": "1374575467",
"support_contact": "user@example.com",
"vertical": "High Tech"
},
{
"display_name": "Child TSG 1",
"id": "1739543876",
"parent_id": "1374575467"
}
]
}
{
"count": "4",
"items": [
{
"children": [
{
"children": [
{
"id": "1626857948",
"name": "Grandchild TSG",
"parent_id": "1957242655",
"support_contact": "user@example.com"
}
],
"display_name": "Child TSG 1",
"id": "1957242655",
"parent_id": "1374575467",
"support_contact": "user@example.com",
"vertical": "High Tech"
},
{
"display_name": "Child TSG 1",
"id": "1739543876",
"parent_id": "1374575467"
}
],
"display_name": "Parent TSG",
"id": "1374575467",
"vertical": "High Tech"
}
]
}
JWT Expired
- text/plain
- Schema
- Jwt Expired
Schema
- any
Jwt is expired
Forbidden
- application/json
- Schema
- Forbidden
Schema
- any
{
"error": "Forbidden",
"message": "Forbidden",
"statusCode": 403
}
Not Found
- application/json
- Schema
- Tenant Service Group Not Found
Schema
- any
{
"error": "Not Found",
"message": "Not Found",
"statusCode": 404
}
Internal Error
- application/json
- Schema
- Internal Error
Schema
- any
{
"error": "Internal Server Error",
"message": "An internal server error occurred",
"statusCode": 500
}