Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
C#
using Auth0.ManagementApi; using System.Threading.Tasks; public partial class Examples { public async Task Example() { var client = new ManagementApiClient( token: "<token>", clientOptions: new ClientOptions { BaseUrl = "https://{YOUR_DOMAIN}/api/v2" } ); await client.Groups.GetAsync( "id" ); } }
package com.example.usage; import com.auth0.client.mgmt.ManagementApi; public class Example { public static void main(String[] args) { ManagementApi client = ManagementApi .builder() .domain("{YOUR_DOMAIN}") .token("<token>") .build(); client.groups().get("id"); } }
<?php namespace Example; use Auth0\SDK\API\Management\Wrapper\ManagementClient; use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions; $client = new ManagementClient(new ManagementClientOptions( domain: '{YOUR_DOMAIN}', token: '<token>', )); $client->groups->get( 'id', );
from auth0.management import ManagementClient client = ManagementClient( domain="{YOUR_DOMAIN}", token="<token>", ) client.groups.get( id="id", )
require "auth0" client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2") client.groups.get(id: "id")
curl --request GET \ --url https://{tenantDomain}/api/v2/groups/{id} \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://{tenantDomain}/api/v2/groups/{id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://{tenantDomain}/api/v2/groups/{id}" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "created_at": "2023-11-07T05:31:56Z", "id": "<string>", "name": "<string>", "tenant_name": "<string>", "updated_at": "2023-11-07T05:31:56Z", "connection_id": "<string>", "external_id": "<string>" }
ID でグループを取得します。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Read Groups
グループの一意の識別子(サービスによって生成されます)。
18 - 26
グループを正常に取得しました。
グループのメタデータを表します。メンバー一覧は別の endpoint から取得します。
グループの作成日時を示すタイムスタンプ。
^grp_[1-9a-km-zA-HJ-NP-Z]{14,22}$
グループ名。この接続内で一意である必要があります。1文字以上128文字以下の表示可能なASCII文字を含める必要があります。
1 - 128
^[\x20-\x7E]+$
このグループが属するテナントの識別子。
3
^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
グループの最終更新日時を示すタイムスタンプ。
このグループが属する接続の識別子(接続グループの場合)。
グループの外部識別子。SCIM同期でよく使用されます。最大長は256文字です。
256