cURL
curl --request GET \ --url https://{tenant}/api/usergroups \ --header 'Authorization: Bearer <token>'
{ "groups": [ { "active": true, "description": "Devops logs and analytics access", "id": "6649986d5715ec4c96cbef2b", "name": "66498cd1e2fcd1000184ecb8", "org_id": "5e9d9544a1dcd60001d0ed20", "password_max_days": 0, "user_permissions": {} } ], "pages": 123 }
This will return a list of all the user groups. The returned user groups are paginated.
The Tyk Dashboard API Access Credentials
Use p query parameter to say which page you want returned. Send number less than 0 to return all items.
User groups fetched.
Show child attributes
true
"Devops logs and analytics access"
"6649986d5715ec4c96cbef2b"
"66498cd1e2fcd1000184ecb8"
"5e9d9544a1dcd60001d0ed20"
0
Was this page helpful?