POST
/v1/mgmt/group/all

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
tenantIdstring
curl -X POST "https://api.descope.com/v1/mgmt/group/all" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "tenantId": "string"
  }'

OK

{
  "groups": [
    {
      "id": "string",
      "display": "string",
      "members": [
        {
          "loginId": "string",
          "userId": "string",
          "display": "string"
        }
      ]
    }
  ]
}

Was this helpful?