{
  "opencollection": "1.0.0",
  "info": {
    "name": "Lightrun Actions Just-In-Time Access API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Just-In-Time Access",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of all active temporary access sessions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8090/api/v1/temp-access",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Zero-based page index (0..N)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The size of the page to be returned"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a list of all active temporary accesses.\n\n**Required API permission level:** `DEV`"
        },
        {
          "info": {
            "name": "Grant temporary access to a list of users across multiple agent pools",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8090/api/v1/temp-access",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Grant temporary access to a list of users across multiple agent pools.\n\n**Required API permission level:** `DEV`"
        },
        {
          "info": {
            "name": "Revoke temporary access",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8090/api/v1/temp-access/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Revoke temporary access.\n\n**Required API permission level:** `DEV`"
        }
      ]
    }
  ],
  "bundled": true
}