Get Users or Groups of Tenant (2.0)
GET/v2.0/api/tenants/:tenant_id/directoryusergroups
Get users or groups of a tenant.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The number of responses.
id string
The ID of the response.
tenant_id string
The ID of the tenant.
items DirectoryUserGroup[]
description
The description of the user or group. Max size = 256.
id string
The user or group ID.
name stringrequired
The user or group name.
stale boolean
Stale
tags string[]
A information field that can be added to identify the user or group. Maximum 10 unique tags of length 1024 each are allowed.
tenant_id stringrequired
The tenant ID.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"id": "string",
"name": "string",
"stale": true,
"tags": [
"string"
],
"tenant_id": "string"
}
]
}
Loading...