{
  "name": "ListUserPools",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "GET",
    "path": "/auth/user-pools",
    "query": [],
    "headers": [
      "authorization"
    ],
    "body": false
  },
  "requestBody": "explicitlyEmpty",
  "responseBody": "json",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "title": "ListUserPoolsRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "UserPool": {
        "properties": {
          "createdAt": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "poolId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "name",
          "poolId",
          "tenantId"
        ],
        "type": "object"
      }
    },
    "properties": {
      "pools": {
        "items": {
          "$ref": "#/definitions/UserPool"
        },
        "type": "array"
      }
    },
    "required": [
      "pools"
    ],
    "title": "ListUserPoolsResponse",
    "type": "object"
  }
}
