Chilkat Online Tools

Delphi (DLL) / Auth0 Management API / Get a list of Guardian enrollments

Back to Collection Items

var

begin
CkHttp_putAuthToken(http,'{{auth0_token}}');success := CkHttp_QuickGetSb(http,'https://{{auth0_domain}}/api/v2/users/:id/enrollments',sbResponseBody);


Curl Command

curl -X GET
	-H "Authorization: Bearer {{auth0_token}}"
https://{{auth0_domain}}/api/v2/users/:id/enrollments

Postman Collection Item JSON

{
  "name": "Get a list of Guardian enrollments",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Authorization",
        "value": "Bearer {{auth0_token}}"
      }
    ],
    "url": {
      "raw": "https://{{auth0_domain}}/api/v2/users/:id/enrollments",
      "protocol": "https",
      "host": [
        "{{auth0_domain}}"
      ],
      "path": [
        "api",
        "v2",
        "users",
        ":id",
        "enrollments"
      ],
      "variable": [
        {
          "key": "id",
          "type": "any"
        }
      ]
    },
    "description": "Retrieves all Guardian enrollments."
  },
  "response": [
  ]
}