Get Groups
GET{basePath}/:tenant_id/management/groups
Gets a collection of Groups within a specific tenant's IdP
Request
Path Parameters
tenant_id stringrequired
Query Parameters
name string
first_result int32
Default value:
0
max_results int32
Default value:
10
Header Parameters
Authorization stringrequired
Responses
- 200
- 401
- 406
List of unique Groups
- application/json
- Schema
- Example (auto)
Schema
groups object[]
{
"groups": [
{
"id": "string",
"name": "string"
}
]
}
Tenant Id is not valid.
- application/json
- Schema
- Example (auto)
Schema
typeuri
titlestring
statusint32
detailstring
instanceuri
properties object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Unknown Identity vendor.
- application/json
- Schema
- Example (auto)
Schema
typeuri
titlestring
statusint32
detailstring
instanceuri
properties object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "{basePath}/:tenant_id/management/groups");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());