{
  "opencollection": "1.0.0",
  "info": {
    "name": "Endor Labs REST Authentication Policies API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Policy resources in a namespace.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.endorlabs.com/v1/namespaces/:namespace/policies",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The tenant namespace (tenant_meta.namespace) that scopes the resource."
              },
              {
                "name": "list_parameters.filter",
                "value": "",
                "type": "query",
                "description": "Endor query-language filter expression applied to the resource list."
              },
              {
                "name": "list_parameters.mask",
                "value": "",
                "type": "query",
                "description": "Comma-separated field mask selecting which fields to return."
              },
              {
                "name": "list_parameters.page_size",
                "value": "",
                "type": "query",
                "description": "Maximum number of resources to return per page."
              },
              {
                "name": "list_parameters.page_token",
                "value": "",
                "type": "query",
                "description": "Opaque token to retrieve the next page of results."
              }
            ]
          },
          "docs": "List Policy resources in a namespace."
        },
        {
          "info": {
            "name": "Create a Policy resource in a namespace.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.endorlabs.com/v1/namespaces/:namespace/policies",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The tenant namespace (tenant_meta.namespace) that scopes the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Policy resource in a namespace."
        },
        {
          "info": {
            "name": "Get a Policy resource by UUID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.endorlabs.com/v1/namespaces/:namespace/policies/:uuid",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The tenant namespace (tenant_meta.namespace) that scopes the resource."
              },
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Get a Policy resource by UUID."
        },
        {
          "info": {
            "name": "Update a Policy resource by UUID.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.endorlabs.com/v1/namespaces/:namespace/policies/:uuid",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The tenant namespace (tenant_meta.namespace) that scopes the resource."
              },
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a Policy resource by UUID."
        },
        {
          "info": {
            "name": "Delete a Policy resource by UUID.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.endorlabs.com/v1/namespaces/:namespace/policies/:uuid",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The tenant namespace (tenant_meta.namespace) that scopes the resource."
              },
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Delete a Policy resource by UUID."
        }
      ]
    }
  ],
  "bundled": true
}