{
  "opencollection": "1.0.0",
  "info": {
    "name": "Permit.io API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Members",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the authenticated account member",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/members/me",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets the authenticated account member's details."
        },
        {
          "info": {
            "name": "List Organization Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/members",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "env_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the account members that current active account has access to, optionally filtering by project or environment.\nThe active account/organization is determined by the API Key used or by the authenticated session id."
        },
        {
          "info": {
            "name": "Invite new members",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/members",
            "params": [
              {
                "name": "inviter_name",
                "value": "",
                "type": "query"
              },
              {
                "name": "inviter_email",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an organization member if needed, and grant it permissions.\n\nThe member can be specified either by ID (for an existing member), or by email (for either an existing member or a new one).\n\nFor a new member, an invite will be sent."
        },
        {
          "info": {
            "name": "Remove permission",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/members",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove permissions from a member. If the last permissions a member has are removed, the member is also deleted."
        },
        {
          "info": {
            "name": "Get Organization Member",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/members/:member_id",
            "params": [
              {
                "name": "member_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761be2",
                "type": "path",
                "description": "Either the unique id (UUID) of the account member, or the email address of the account member."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single account member by its id or email address. matching the given member,\nif no such member exists under the current active account (organization), returns 404."
        },
        {
          "info": {
            "name": "Edit members",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/members/:member_id",
            "params": [
              {
                "name": "member_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761be2",
                "type": "path",
                "description": "Either the unique id (UUID) of the account member, or the email address of the account member."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an account member's settings."
        },
        {
          "info": {
            "name": "Remove member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/members/:member_id",
            "params": [
              {
                "name": "member_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761be2",
                "type": "path",
                "description": "Either the unique id (UUID) of the account member, or the email address of the account member."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an account member matching the given id or email address.\nThe member will be removed from the active account in permit.io.\n\nIf the member is the only member in its account (organization), returns 400 (bad request),\ndue to nobody remains with access to the account, meaning deletion of the entire account (org).\nTo completely remove an account, call DELETE `/orgs/{org}`."
        }
      ]
    },
    {
      "info": {
        "name": "API Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Environment Api Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/api-key/:proj_id/:env_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Environment Api Key"
        },
        {
          "info": {
            "name": "Get Api Key Scope",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/api-key/scope",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Api Key Scope"
        },
        {
          "info": {
            "name": "List Api Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/api-key",
            "params": [
              {
                "name": "object_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "proj_id",
                "value": "",
                "type": "query",
                "description": "Optional project filter by project id or key"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the api_keys under the active organization."
        },
        {
          "info": {
            "name": "Create Api Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/api-key",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new api_key under the active organization."
        },
        {
          "info": {
            "name": "Get Api Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/api-key/:api_key_id",
            "params": [
              {
                "name": "api_key_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761ce1",
                "type": "path",
                "description": "The unique id of the API key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single api_key matching the given api_key_id, if such api_key exists."
        },
        {
          "info": {
            "name": "Delete Api Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/api-key/:api_key_id",
            "params": [
              {
                "name": "api_key_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761ce1",
                "type": "path",
                "description": "The unique id of the API key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the api_key and all its related data."
        },
        {
          "info": {
            "name": "Rotate API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/api-key/:api_key_id/rotate-secret",
            "params": [
              {
                "name": "api_key_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761ce1",
                "type": "path",
                "description": "The unique id of the API key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Rotates the API key of the PDP container with id `pdp_id`.\n\nThe rotation of the API key revokes the old API key and issues a new API key to the PDP."
        }
      ]
    },
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/orgs",
            "params": [
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the org name or key or id"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the organizations that can be accessed by the\nauthenticated actor (i.e: human team member or api key)."
        },
        {
          "info": {
            "name": "Create Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/orgs",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "If you want to create org via API, reach out to us and we will add the permission to your API token"
        },
        {
          "info": {
            "name": "Get Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/orgs/:org_id",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single organization (Permit.io account) matching the given org_id,\nif such org exists and can be accessed by the authenticated actor."
        },
        {
          "info": {
            "name": "Update Organization",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/orgs/:org_id",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the organization's profile."
        },
        {
          "info": {
            "name": "Delete Organization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/orgs/:org_id",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an organization (Permit.io account) and all its related data."
        },
        {
          "info": {
            "name": "Get Active Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/orgs/active/org",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single organization (Permit.io account) matching the given org_id,\nif such org exists and can be accessed by the authenticated actor."
        },
        {
          "info": {
            "name": "Stats Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/orgs/:org_id/stats",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Stats Organization"
        }
      ]
    },
    {
      "info": {
        "name": "Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Organization Invites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/orgs/:org_id/invites",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists pending organization invites"
        },
        {
          "info": {
            "name": "Invite Members To Organization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/orgs/:org_id/invites",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "inviter_name",
                "value": "",
                "type": "query"
              },
              {
                "name": "inviter_email",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Invite new members into the organization."
        },
        {
          "info": {
            "name": "Cancel Invite",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/orgs/:org_id/invites/:invite_id",
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "invite_id",
                "value": "",
                "type": "path",
                "description": "Id of the invite to cancel"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Cancels an invite that was sent to a new member."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the projects under the active organization."
        },
        {
          "info": {
            "name": "Create Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new project under the active organization."
        },
        {
          "info": {
            "name": "Get Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single project matching the given proj_id, if such project exists."
        },
        {
          "info": {
            "name": "Update Project",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/projects/:proj_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the project."
        },
        {
          "info": {
            "name": "Delete Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/projects/:proj_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the project and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Stats Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id/stats",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Stats Environments"
        },
        {
          "info": {
            "name": "List Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the environments under a given project."
        },
        {
          "info": {
            "name": "Create Environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new environment under a given project."
        },
        {
          "info": {
            "name": "Get Environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single environment matching the given env_id, if such environment exists."
        },
        {
          "info": {
            "name": "Update Environment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the environment."
        },
        {
          "info": {
            "name": "Delete Environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an environment and all its related data."
        },
        {
          "info": {
            "name": "Copy Environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id/copy",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Copy environment\n\nThis endpoint either duplicates an existing environment to a new environment\nin the same project, or copies from an existing environment to another\nexisting environment.\n\nThe `scope` object controls which objects will be copied to the target\nenvironment.\n\nTo clone to a new environment, the user must have write permissions\nto the containing project. To clone into an existing environment,\nthe user must have write permissions to the target environment.\n\nCopying environments across"
        },
        {
          "info": {
            "name": "Copy Environment Async",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id/copy/async",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "wait",
                "value": "",
                "type": "query",
                "description": "Time in seconds to wait for the task to complete. Default is 0, means no wait."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Copy environment\n\nThis endpoint either duplicates an existing environment to a new environment\nin the same project, or copies from an existing environment to another\nexisting environment.\n\nThe `scope` object controls which objects will be copied to the target\nenvironment.\n\nTo clone to a new environment, the user must have write permissions\nto the containing project. To clone into an existing environment,\nthe user must have write permissions to the target environment.\n\nCopying environments across"
        },
        {
          "info": {
            "name": "Get Copy Environment Task Result",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id/copy/async/:task_id/result",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique id of the task."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "wait",
                "value": "",
                "type": "query",
                "description": "Time in seconds to wait for the task to complete. Default is 0, means no wait."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the result of a copy environment task."
        },
        {
          "info": {
            "name": "Test Jwks By Url",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects/:proj_id/envs/:env_id/test_jwks",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "url",
                "value": "",
                "type": "query",
                "description": "URL of JWKs to test"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Test Jwks Url."
        }
      ]
    },
    {
      "info": {
        "name": "Bulk Operations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Bulk Create Or Replace Roles",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/bulk/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create or replace roles in bulk."
        },
        {
          "info": {
            "name": "Bulk Create Users",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Create Users"
        },
        {
          "info": {
            "name": "Bulk Replace Users",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Replace Users"
        },
        {
          "info": {
            "name": "Bulk Delete Users",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Delete Users"
        },
        {
          "info": {
            "name": "Bulk Create Tenants",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/tenants",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Create Tenants"
        },
        {
          "info": {
            "name": "Bulk Delete Tenants",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/tenants",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Delete Tenants"
        },
        {
          "info": {
            "name": "Bulk Replace Resource Instances",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/resource_instances",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates or replaces Resource Instances.\nIf a resource instance with `key` and `resource` already exists,\nit will be replaced."
        },
        {
          "info": {
            "name": "Bulk Delete Resource Instances",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/bulk/resource_instances",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes many Resource Instances."
        }
      ]
    },
    {
      "info": {
        "name": "Condition Sets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Condition Sets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the condition sets name or key"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "if provided, will return only the condition sets of the specified type. e.g: only user sets."
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all condition sets matching a filter."
        },
        {
          "info": {
            "name": "Create Condition Set",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new condition set (can be either a user set or a resource set)."
        },
        {
          "info": {
            "name": "Get Condition Set",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets/:condition_set_id",
            "params": [
              {
                "name": "condition_set_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single condition set, if such condition set exists."
        },
        {
          "info": {
            "name": "Update Condition Set",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets/:condition_set_id",
            "params": [
              {
                "name": "condition_set_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates a condition set.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Condition Set",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets/:condition_set_id",
            "params": [
              {
                "name": "condition_set_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a condition set and all its related data.\nThis includes any permissions granted to said condition set (i.e: any matching condition set users_with_role)."
        },
        {
          "info": {
            "name": "Get Condition Set Ancestors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets/:condition_set_id/ancestors",
            "params": [
              {
                "name": "condition_set_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all ancestors (parent, parent of parent, and so on)"
        },
        {
          "info": {
            "name": "Get Condition Set Descendants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/condition_sets/:condition_set_id/descendants",
            "params": [
              {
                "name": "condition_set_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the condition set, or the URL-friendly key of the condition set (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets all descendants (children, children of children, and so on)"
        }
      ]
    },
    {
      "info": {
        "name": "Implicit Grants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Implicit Grant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/implicit_grants",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates an implicit grant on a given role"
        },
        {
          "info": {
            "name": "Delete Implicit Grant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/implicit_grants",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an implicit grant on a given role"
        },
        {
          "info": {
            "name": "Update Implicit Grants Conditions",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/implicit_grants/conditions",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update the `when` for implicit grants on a given role"
        }
      ]
    },
    {
      "info": {
        "name": "Resource Action Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Action Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/action_groups",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the action groups defined on the resource."
        },
        {
          "info": {
            "name": "Create Resource Action Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/action_groups",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new action group that can affect the resource."
        },
        {
          "info": {
            "name": "Get Resource Action Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/action_groups/:action_group_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_group_id",
                "value": "my_action_group",
                "type": "path",
                "description": "Either the unique id of the action group, or the URL-friendly key of the action group (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single action group defined on the resource, if such action exists."
        },
        {
          "info": {
            "name": "Update Resource Action Group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/action_groups/:action_group_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_group_id",
                "value": "my_action_group",
                "type": "path",
                "description": "Either the unique id of the action group, or the URL-friendly key of the action group (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the action defined on a resource.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource Action Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/action_groups/:action_group_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_group_id",
                "value": "my_action_group",
                "type": "path",
                "description": "Either the unique id of the action group, or the URL-friendly key of the action group (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the action and all its related data.\nThis includes any permissions granted to perform the action."
        }
      ]
    },
    {
      "info": {
        "name": "Resource Actions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Actions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/actions",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the actions defined on the resource."
        },
        {
          "info": {
            "name": "Create Resource Action",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/actions",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new action that can affect the resource."
        },
        {
          "info": {
            "name": "Get Resource Action",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/actions/:action_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single action defined on the resource, if such action exists."
        },
        {
          "info": {
            "name": "Update Resource Action",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/actions/:action_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the action defined on a resource.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource Action",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/actions/:action_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "action_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the action, or the URL-friendly key of the action (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the action and all its related data.\nThis includes any permissions granted to perform the action."
        }
      ]
    },
    {
      "info": {
        "name": "Resource Attributes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Attributes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/attributes",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the attributes defined on the resource."
        },
        {
          "info": {
            "name": "Create Resource Attribute",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/attributes",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new attribute as part of the resource definition."
        },
        {
          "info": {
            "name": "Get Resource Attribute",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/attributes/:attribute_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single attribute defined on the resource, if such attribute exists."
        },
        {
          "info": {
            "name": "Update Resource Attribute",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/attributes/:attribute_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the attribute defined on a resource.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource Attribute",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/attributes/:attribute_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the attribute and all its related data.\n\nNote: If the attribute is used by policies, removing it will cause the\nattribute to evaluate as `undefined`."
        }
      ]
    },
    {
      "info": {
        "name": "Resource Relations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Relations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/relations",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List relations on a given resource"
        },
        {
          "info": {
            "name": "Create Resource Relation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/relations",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a resource relation to another resource"
        },
        {
          "info": {
            "name": "Get Resource Relation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/relations/:relation_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "relation_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the relation, or the URL-friendly key of the relation (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a resource relation"
        },
        {
          "info": {
            "name": "Delete Resource Relation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/relations/:relation_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "relation_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the relation, or the URL-friendly key of the relation (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a resource relation"
        }
      ]
    },
    {
      "info": {
        "name": "Resource Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the roles defined on the resource."
        },
        {
          "info": {
            "name": "Create Resource Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new role associated with the resource."
        },
        {
          "info": {
            "name": "Get Resource Role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single role defined on the resource, if such role exists."
        },
        {
          "info": {
            "name": "Update Resource Role",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the role defined on a resource.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the role and all its related data.\nThis includes any permissions granted to said role."
        },
        {
          "info": {
            "name": "Assign Permissions to Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/permissions",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assign permissions to role.\n\nIf some of the permissions specified are already assigned, will skip them."
        },
        {
          "info": {
            "name": "Remove Permissions from Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/permissions",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove permissions from role.\n\nIf some of the permissions specified are already unassigned, will skip them."
        },
        {
          "info": {
            "name": "Get Resource Role Ancestors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/ancestors",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Resource Role Ancestors"
        },
        {
          "info": {
            "name": "Get Resource Role Descendants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id/roles/:role_id/descendants",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Resource Role Descendants"
        }
      ]
    },
    {
      "info": {
        "name": "Resources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "include_built_in",
                "value": "",
                "type": "query",
                "description": "Whether to include or exclude built-in resources, default is False"
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the object name or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the resources defined in your schema."
        },
        {
          "info": {
            "name": "Create Resource",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new resource (a type of object you may protect with permissions)."
        },
        {
          "info": {
            "name": "Get Resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single resource, if such resource exists."
        },
        {
          "info": {
            "name": "Replace Resource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Replaces the resource definition, or creates it if it doesn't exist.\n\n- If some actions are removed or renamed from the resource definition,\nrole and permissions assignments for these actions will be revoked."
        },
        {
          "info": {
            "name": "Update Resource",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the resource definition.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/resources/:resource_id",
            "params": [
              {
                "name": "resource_id",
                "value": "my_resource",
                "type": "path",
                "description": "Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the resource and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the object name or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all tenant roles."
        },
        {
          "info": {
            "name": "Create Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new tenant role."
        },
        {
          "info": {
            "name": "Get Role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single tenant role, if such role exists."
        },
        {
          "info": {
            "name": "Update Role",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates a tenant role.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a tenant role and all its related data.\nThis includes any permissions granted to said role."
        },
        {
          "info": {
            "name": "Assign Permissions To Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id/permissions",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assign permissions to role.\n\nIf some of the permissions specified are already assigned, will skip them."
        },
        {
          "info": {
            "name": "Remove Permissions From Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id/permissions",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove permissions from role.\n\nIf some of the permissions specified are already unassigned, will skip them."
        },
        {
          "info": {
            "name": "Get Role Ancestors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id/ancestors",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Role Ancestors"
        },
        {
          "info": {
            "name": "Get Role Descendants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/roles/:role_id/descendants",
            "params": [
              {
                "name": "role_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the role, or the URL-friendly key of the role (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Role Descendants"
        }
      ]
    },
    {
      "info": {
        "name": "User Attributes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List User Attributes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/users/attributes",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the attributes defined on the User resource."
        },
        {
          "info": {
            "name": "Create User Attribute",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/users/attributes",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new attribute for the User resource."
        },
        {
          "info": {
            "name": "Get User Attribute",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/users/attributes/:attribute_id",
            "params": [
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single attribute defined on the User resource, if such attribute exists."
        },
        {
          "info": {
            "name": "Update User Attribute",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/users/attributes/:attribute_id",
            "params": [
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the attribute defined on the User resource.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete User Attribute",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/users/attributes/:attribute_id",
            "params": [
              {
                "name": "attribute_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the attribute, or the URL-friendly key of the attribute (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the attribute and all its related data.\n\nNote: If the attribute is used by policies, removing it will cause the\nattribute to evaluate as `undefined`."
        }
      ]
    },
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Direct Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/direct",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "The resource key or id to filter by"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the object name or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Paginated list of groups with various filters."
        },
        {
          "info": {
            "name": "Get Direct Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/direct/:group_instance_key",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a specific group by its instance key."
        },
        {
          "info": {
            "name": "List group children (EAP)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/children",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List group children of a specific group."
        },
        {
          "info": {
            "name": "List group parents (EAP)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/parents",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List group parents of a specific group."
        },
        {
          "info": {
            "name": "List group users (EAP)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Paginated list of all users in a group."
        },
        {
          "info": {
            "name": "List group roles (EAP)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Paginated list of all roles assigned to a group."
        },
        {
          "info": {
            "name": "Assign Role To Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assign a role to a group -\nIt will create relation between the group and the resource, relationship between the resource instances and derivation from the member role to this role."
        },
        {
          "info": {
            "name": "Remove Role From Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/roles",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a role from a group-\nIt will remove the derivation from the member role to this role."
        },
        {
          "info": {
            "name": "Get Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a specific group by its instance key."
        },
        {
          "info": {
            "name": "Delete Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a group by its instance key."
        },
        {
          "info": {
            "name": "List Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "The resource key or id to filter by"
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response(will make the request slower)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the object name or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all groups."
        },
        {
          "info": {
            "name": "Create Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new group."
        },
        {
          "info": {
            "name": "Assign User To Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assign a user to a group -\nThis user will inherit the group's roles."
        },
        {
          "info": {
            "name": "Remove User From Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a user from a group-\nThis user will be removed from the member role of the group, and will no longer inherit the group's roles."
        },
        {
          "info": {
            "name": "Assign Group To Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/assign_group",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assign a group to a group -\nThis group will inherit the group's roles."
        },
        {
          "info": {
            "name": "Remove Group From Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/schema/:proj_id/:env_id/groups/:group_instance_key/assign_group",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "group_instance_key",
                "value": "my_instance_group",
                "type": "path",
                "description": "Either the unique id of the resource instance, or the URL-friendly key of the resource instance (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a group from a group-\nThis group will be removed from the member role of the group, and will no longer inherit the group's roles."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the user"
              },
              {
                "name": "search_operator",
                "value": "",
                "type": "query",
                "description": "The search operator to use. `contains` performs a substring match on email, key, first_name, and last_name. `startswith` performs a prefix match on email, key, first_name, and last_name."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Match users with a specific role. To filter users without any roles, send an empty string."
              },
              {
                "name": "include_resource_instance_roles",
                "value": "",
                "type": "query",
                "description": "Should add resource instance roles"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the users defined within an environment."
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new user inside the Permit.io system, from that point forward\nyou may run permission checks on that user.\n\nReturns 201 if the user is created, 409 if the user already exists.\nUser is identified by its key, and you can only create one user with the same key inside a Permit environment."
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a user, if such user exists. Otherwise returns 404."
        },
        {
          "info": {
            "name": "Replace User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Replace User / Sync User upsert a user in the system.\nIf the user already exists, it will update the user with the new data.\nIf the user does not exist, it will create a new user with the provided data.\n\nThe user is identified by its key, and you can only create one user with the same key inside a Permit environment.\nA 200 status code will be returned if the user already exists, and a 201 status code will be returned if the user is created."
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the user definition.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the user and all its related data."
        },
        {
          "info": {
            "name": "Assign Role To User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id/roles",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns a role to the user within the tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant."
        },
        {
          "info": {
            "name": "Unassign Role From User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/users/:user_id/roles",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "return_deleted",
                "value": "",
                "type": "query",
                "description": "Whether to return the deleted role assignment, status code will be 200 instead of the default 204 if true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns the role from the user within the tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.\n\nIf the role is not actually assigned, will return 404."
        }
      ]
    },
    {
      "info": {
        "name": "Tenants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Tenant Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id/users",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the email field"
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Match users with a specific role"
              },
              {
                "name": "include_resource_instance_roles",
                "value": "",
                "type": "query",
                "description": "Should add resource instance roles"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Tenant Users"
        },
        {
          "info": {
            "name": "Add User To Tenant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id/users",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create and add user to a tenant."
        },
        {
          "info": {
            "name": "List Tenants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the tenant name or key"
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the tenants defined within an env."
        },
        {
          "info": {
            "name": "Create Tenant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new tenant inside the Permit.io system.\n\nIf the tenant is already created: will return 200 instead of 201,\nand will return the existing tenant object in the response body."
        },
        {
          "info": {
            "name": "Get Tenant",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a tenant, if such tenant exists. Otherwise returns 404."
        },
        {
          "info": {
            "name": "Update Tenant",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the tenant definition.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Tenant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the tenant and all its related data."
        },
        {
          "info": {
            "name": "Delete Tenant User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/tenants/:tenant_id/users/:user_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes a user under a tenant."
        }
      ]
    },
    {
      "info": {
        "name": "Role Assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Role Assignments Detailed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments/detailed",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "optional user(s) filter, will only return role assignments granted to this user(s)."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "optional role(s) filter, will only return role assignments granting this role(s)."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "optional tenant(s) filter, will only return role assignments granted in that tenant(s)."
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "optional resource **type** filter, will only return role assignments granted on that resource type."
              },
              {
                "name": "resource_instance",
                "value": "",
                "type": "query",
                "description": "optional resource instance filter, will only return role assignments granted on that resource instance."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 1000)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the role assignments defined within an environment.\n\n- If the `user` filter is present, will only return the role assignments of that user (supports multiple).\n- If the `tenant` filter is present, will only return the role assignments in that tenant (supports multiple).\n- If the `role` filter is present, will only return role assignments that are granting that role (supports multiple).\n- If the `resource` filter is present, will only return role assignments for resource instances of that r"
        },
        {
          "info": {
            "name": "List Role Assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "optional user(s) filter, will only return role assignments granted to this user(s)."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "optional role(s) filter, will only return role assignments granting this role(s)."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "optional tenant(s) filter, will only return role assignments granted in that tenant(s)."
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "optional resource **type** filter, will only return role assignments granted on that resource type."
              },
              {
                "name": "resource_instance",
                "value": "",
                "type": "query",
                "description": "optional resource instance filter, will only return role assignments granted on that resource instance."
              },
              {
                "name": "detailed",
                "value": "",
                "type": "query",
                "description": "Whether to return full details about the user, tenant and role"
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "If true, returns the list of role assignments and the total count."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 1000)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the role assignments defined within an environment.\n\n- If the `user` filter is present, will only return the role assignments of that user (supports multiple).\n- If the `tenant` filter is present, will only return the role assignments in that tenant (supports multiple).\n- If the `role` filter is present, will only return role assignments that are granting that role (supports multiple).\n- If the `resource` filter is present, will only return role assignments for resource instances of that r"
        },
        {
          "info": {
            "name": "Assign Role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns a role to a user within a tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant."
        },
        {
          "info": {
            "name": "Unassign Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "return_deleted",
                "value": "",
                "type": "query",
                "description": "Whether to return the deleted role assignment, status code will be 200 instead of the default 204 if true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns a user role within a tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.\n\nIf the role is not actually assigned, will return 404."
        },
        {
          "info": {
            "name": "Bulk create role assignments",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments/bulk",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "missing_user_policy",
                "value": "",
                "type": "query",
                "description": "Policy for missing users - 'fail': Fail the entire operation if a user is missing; 'ignore': Skip assignments for missing users; 'create': Create missing users and continue with the operation"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk create role assignments"
        },
        {
          "info": {
            "name": "Bulk Unassign Role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/role_assignments/bulk",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Unassign Role"
        }
      ]
    },
    {
      "info": {
        "name": "Condition Set Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Set Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/set_rules",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "user_set",
                "value": "",
                "type": "query",
                "description": "optional user set filter, will only return rules where the permission is granted to this user set"
              },
              {
                "name": "permission",
                "value": "",
                "type": "query",
                "description": "optional permission filter, will only return condition set rules granting this permission"
              },
              {
                "name": "resource_set",
                "value": "",
                "type": "query",
                "description": "optional resource set filter, will only return rules where the permission is granted on this resource set"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the condition set rules matching the filter.\n- If the `user_set` filter is present, will only return the permissions set of that user set.\n- If the `permission` filter is present, will only return the permissions sets that equals to the queried permission.\n- If the `resource_set` filter is present, will only return the permissions set of that resource set."
        },
        {
          "info": {
            "name": "Assign Set Permissions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/set_rules",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Grant permissions to a user set *on* a resource set.\n\nIf the permission is already granted, it is skipped."
        },
        {
          "info": {
            "name": "Unassign Set Permissions",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/set_rules",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Revokes permissions to a user set *on* a resource set.\n\nIf the permission is not granted, it is skipped."
        }
      ]
    },
    {
      "info": {
        "name": "Resource Instances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Resource Instances Detailed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances/detailed",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "The resource key or id to filter by"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "The resource instance key or id to filter by (supports multi-value like this url?search=key-1&search=key-2)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the resource instances defined within an environment."
        },
        {
          "info": {
            "name": "List Resource Instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "The resource key or id to filter by"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "The resource instance key or id to filter by (supports multi-value like this url?search=key-1&search=key-2)"
              },
              {
                "name": "detailed",
                "value": "",
                "type": "query",
                "description": "If true, will return the relationships of the resource instance."
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "Include total count in response(will make the request slower)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the resource instances defined within an environment."
        },
        {
          "info": {
            "name": "Create Resource Instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new instance inside the Permit.io system.\n\nIf the instance is already created: will return 200 instead of 201,\nand will return the existing instance object in the response body."
        },
        {
          "info": {
            "name": "Get Resource Instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances/:instance_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "f'Either the unique id of the resource instance, or the URL-friendly key of the <resource_key:resource_instance_key> (i.e: file:my_file.txt).'"
              },
              {
                "name": "detailed",
                "value": "",
                "type": "query",
                "description": "If true, will return the relationships of the resource instance."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a instance, if such instance exists. Otherwise returns 404."
        },
        {
          "info": {
            "name": "Update Resource Instance",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances/:instance_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "f'Either the unique id of the resource instance, or the URL-friendly key of the <resource_key:resource_instance_key> (i.e: file:my_file.txt).'"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the instance definition.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Resource Instance",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/resource_instances/:instance_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "f'Either the unique id of the resource instance, or the URL-friendly key of the <resource_key:resource_instance_key> (i.e: file:my_file.txt).'"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the instance and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Proxy Config",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Proxy Configs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/proxy_configs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the proxy configs defined within an environment."
        },
        {
          "info": {
            "name": "Create Proxy Config",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/proxy_configs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new proxy config inside the Permit.io system.\n\nIf the proxy config is already created: will return 200 instead of 201,\nand will return the existing proxy config object in the response body."
        },
        {
          "info": {
            "name": "Get Proxy Config",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/proxy_configs/:proxy_config_id",
            "params": [
              {
                "name": "proxy_config_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a proxy config, if such proxy config exists. Otherwise returns 404."
        },
        {
          "info": {
            "name": "Update Proxy Config",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/proxy_configs/:proxy_config_id",
            "params": [
              {
                "name": "proxy_config_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially updates the proxy config definition.\nFields that will be provided will be completely overwritten."
        },
        {
          "info": {
            "name": "Delete Proxy Config",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/proxy_configs/:proxy_config_id",
            "params": [
              {
                "name": "proxy_config_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the proxy config, or the URL-friendly key of the proxy config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the proxy config and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Email Configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Email Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets the email configuration defined within an environment."
        },
        {
          "info": {
            "name": "Create Or Update Email Configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create new configuration or updates the email configuration"
        },
        {
          "info": {
            "name": "Send Test Email",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_configurations/send_test_email",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Sends a test email to the email address defined in the user."
        }
      ]
    },
    {
      "info": {
        "name": "Email Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_templates/",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the email configurations defined within an environment."
        },
        {
          "info": {
            "name": "Get Template By Type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_templates/:template_type",
            "params": [
              {
                "name": "template_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the email configurations defined within an environment."
        },
        {
          "info": {
            "name": "Update Template By Type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_templates/:template_type",
            "params": [
              {
                "name": "template_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an email template by a given type."
        },
        {
          "info": {
            "name": "Send Test Email By Type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/email_templates/:template_type/send_test_email",
            "params": [
              {
                "name": "template_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Send Test Email By Type"
        }
      ]
    },
    {
      "info": {
        "name": "Relationship tuples",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Relationship Tuples Detailed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples/detailed",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "subject",
                "value": "",
                "type": "query",
                "description": "The subject to filter by, accepts either the resource instance id or resource_type:resource_instance"
              },
              {
                "name": "relation",
                "value": "",
                "type": "query",
                "description": "The relation id or key to filter by"
              },
              {
                "name": "object",
                "value": "",
                "type": "query",
                "description": "The object to filter by, accepts either the resource instance id or resource_type:resource_instance"
              },
              {
                "name": "object_type",
                "value": "",
                "type": "query",
                "description": "The object type to filter by, accepts resource type id or key"
              },
              {
                "name": "subject_type",
                "value": "",
                "type": "query",
                "description": "The subject type to filter by, accepts resource type id or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the relationship tuples defined within an environment."
        },
        {
          "info": {
            "name": "List Relationship Tuples",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "detailed",
                "value": "",
                "type": "query",
                "description": "If true, will return the full subject and object resource instances."
              },
              {
                "name": "include_total_count",
                "value": "",
                "type": "query",
                "description": "If true, returns the list of resource instances and the total count."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "The tenant key or id to filter by"
              },
              {
                "name": "subject",
                "value": "",
                "type": "query",
                "description": "The subject to filter by, accepts either the resource instance id or resource_type:resource_instance"
              },
              {
                "name": "relation",
                "value": "",
                "type": "query",
                "description": "The relation id or key to filter by"
              },
              {
                "name": "object",
                "value": "",
                "type": "query",
                "description": "The object to filter by, accepts either the resource instance id or resource_type:resource_instance"
              },
              {
                "name": "object_type",
                "value": "",
                "type": "query",
                "description": "The object type to filter by, accepts resource type id or key"
              },
              {
                "name": "subject_type",
                "value": "",
                "type": "query",
                "description": "The subject type to filter by, accepts resource type id or key"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the relationship tuples defined within an environment."
        },
        {
          "info": {
            "name": "Create Relationship Tuple",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a relationship between two resource instances using a relation."
        },
        {
          "info": {
            "name": "Delete Relationship Tuple",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a relationship between two resource instances."
        },
        {
          "info": {
            "name": "Bulk create relationship tuples",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples/bulk",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk create relationship tuples"
        },
        {
          "info": {
            "name": "Bulk Delete Relationship Tuples",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/relationship_tuples/bulk",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Bulk Delete Relationship Tuples"
        }
      ]
    },
    {
      "info": {
        "name": "User Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List User Invites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "optional role filter, will only return invited users with this role."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "optional tenant filter, will only return invited users in that tenant."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "optional search, will only return invited users to that email, key or name."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List User Invites"
        },
        {
          "info": {
            "name": "Create User Invite",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create User Invite"
        },
        {
          "info": {
            "name": "Get User Invite",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites/:user_invite_id",
            "params": [
              {
                "name": "user_invite_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user_invite, or the URL-friendly key of the user_invite (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get User Invite"
        },
        {
          "info": {
            "name": "Update User Invite",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites/:user_invite_id",
            "params": [
              {
                "name": "user_invite_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user_invite, or the URL-friendly key of the user_invite (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update User Invite"
        },
        {
          "info": {
            "name": "Delete User Invite",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites/:user_invite_id",
            "params": [
              {
                "name": "user_invite_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user_invite, or the URL-friendly key of the user_invite (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete User Invite"
        },
        {
          "info": {
            "name": "Approve User Invite",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/user_invites/:user_invite_id/approve",
            "params": [
              {
                "name": "user_invite_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user_invite, or the URL-friendly key of the user_invite (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Approve User Invite"
        }
      ]
    },
    {
      "info": {
        "name": "Access Requests (EAP)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Access Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Optional status filter, will only return access requests with this status."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Optional role filter, will only return access request granted with that role."
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "Optional resource filter, will only return access request granted in that resource."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Access Requests"
        },
        {
          "info": {
            "name": "Create Access Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id",
            "params": [
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Access Request"
        },
        {
          "info": {
            "name": "Get Access Request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id/:access_request_id",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Access Request"
        },
        {
          "info": {
            "name": "Update Access Request Reviewer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id/:access_request_id/reviewer",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Access Request Reviewer"
        },
        {
          "info": {
            "name": "Approve Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id/:access_request_id/approve",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Approve Access Request"
        },
        {
          "info": {
            "name": "Deny Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id/:access_request_id/deny",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deny Access Request"
        },
        {
          "info": {
            "name": "Cancel Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/facts/:proj_id/:env_id/access_requests/:elements_config_id/user/:user_id/tenant/:tenant_id/:access_request_id/cancel",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "tenant_id",
                "value": "my_tenant",
                "type": "path",
                "description": "Either the unique id of the tenant, or the URL-friendly key of the tenant (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "my_user",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Cancel Access Request"
        },
        {
          "info": {
            "name": "List Access Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Optional status filter, will only return access requests with this status."
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "Optional tenant filter, will only return access request granted in that tenant."
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Optional role filter, will only return access request granted with that role."
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "Optional resource filter, will only return access request granted in that resource."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Access Requests"
        },
        {
          "info": {
            "name": "Create Access Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Access Request"
        },
        {
          "info": {
            "name": "Get Access Request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests/:access_request_id",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Access Request"
        },
        {
          "info": {
            "name": "Update Access Request Reviewer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests/:access_request_id/reviewer",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Access Request Reviewer"
        },
        {
          "info": {
            "name": "Approve Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests/:access_request_id/approve",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Approve Access Request"
        },
        {
          "info": {
            "name": "Deny Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests/:access_request_id/deny",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deny Access Request"
        },
        {
          "info": {
            "name": "Cancel Access Request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/access_requests/:access_request_id/cancel",
            "params": [
              {
                "name": "access_request_id",
                "value": "42f0e113-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "Either the unique id of the access_request, or the URL-friendly key of the access_request (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Cancel Access Request"
        }
      ]
    },
    {
      "info": {
        "name": "Policy Decision Points",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List PDP configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List PDP configurations"
        },
        {
          "info": {
            "name": "Get PDP configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs/:pdp_id/values",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "pdp_id",
                "value": "42f0e413-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "The unique id of the pdp"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets the configuration values for the PDP container with id `pdp_id`.\n\nThe config values returned are considered \"overrides\", meaning they are overriding\nany default values given to the container by the user."
        },
        {
          "info": {
            "name": "Enable debug audit logs",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs/:pdp_id/debug-audit-logs/enable",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "pdp_id",
                "value": "42f0e413-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "The unique id of the pdp"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Enables debug audit logs for the PDP container with id `pdp_id`."
        },
        {
          "info": {
            "name": "Disable debug audit logs",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs/:pdp_id/debug-audit-logs/disable",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "pdp_id",
                "value": "42f0e413-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "The unique id of the pdp"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Disabled debug audit logs for the PDP container with id `pdp_id`."
        },
        {
          "info": {
            "name": "Rotate PDP API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs/:pdp_id/rotate-api-key",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "pdp_id",
                "value": "42f0e413-219b-4bb9-ba90-c2c904761be1",
                "type": "path",
                "description": "The unique id of the pdp"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Rotates the API key of the PDP container with id `pdp_id`.\n\nThe rotation of the API key revokes the old API key and issues a new API key to the PDP."
        },
        {
          "info": {
            "name": "Migrate PDP Config number of shards",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/configs/migrate-shards",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "The migration process is as followed:\n1. Perform request to this endpoint with the new number of shards\n2. A new PDP Config will be created with the new number of shards and a new api-key\n3. Create a new PDP cluster with the same instances as the number of shards defined in the new PDP Config\n4. Wait for the new PDP cluster to be ready\n5. Update your PDP load balancer to point to the new PDP cluster\n\nMore info can be found here https://docs.permit.io/concepts/pdp-sharding"
        }
      ]
    },
    {
      "info": {
        "name": "Audit Logs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Audit Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/audit_logs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "pdp_id",
                "value": "",
                "type": "query",
                "description": "Filter by pdp config id"
              },
              {
                "name": "users",
                "value": "",
                "type": "query",
                "description": "List of user keys or emails to filter by"
              },
              {
                "name": "decision",
                "value": "",
                "type": "query",
                "description": "Filter by decision result"
              },
              {
                "name": "resources",
                "value": "",
                "type": "query",
                "description": "Filter by resources"
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "Filter by tenant"
              },
              {
                "name": "action",
                "value": "",
                "type": "query",
                "description": "Filter by action"
              },
              {
                "name": "timestamp_from",
                "value": "",
                "type": "query",
                "description": "Filter by timestamp from"
              },
              {
                "name": "timestamp_to",
                "value": "",
                "type": "query",
                "description": "Filter by timestamp to"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Sort by column"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Filter by the type of query that generated the audit log.<br />'check' - permit/root, permit/check, permit/bulk<br />'get_user_permissions' - permit/user_permissions<br />'get_authorized_users' - permit/authorized_users, permit/authorized_users_new<br />'none' - All queries"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Audit Logs"
        },
        {
          "info": {
            "name": "Get detailed audit log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/pdps/:proj_id/:env_id/audit_logs/:log_id",
            "params": [
              {
                "name": "log_id",
                "value": "42f0e113-219b-4bb9-ba90-e2c904761be1",
                "type": "path",
                "description": "The unique id of the audit log"
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get detailed audit log"
        }
      ]
    },
    {
      "info": {
        "name": "Policy Git Repositories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Policy Repos",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the policy repositories under a given project."
        },
        {
          "info": {
            "name": "Create Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new policy repository configuration under a given project.\nThe given repository is created with status 'pending', it will be changed and used as the 'active' repository for\nthe policy only after a successful attempt to use it.\nThe repository main branch must be present in the remote."
        },
        {
          "info": {
            "name": "Get Active Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos/active",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets the currently active repository, if such repository exists."
        },
        {
          "info": {
            "name": "Disable Active Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos/disable",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Disable the currently active policy repo, this action means to turn off the gitops feature.\nIf there is no active policy repo, this action will do nothing."
        },
        {
          "info": {
            "name": "Activate Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos/:repo_id/activate",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "repo_id",
                "value": "my_policy_repo",
                "type": "path",
                "description": "Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Disable the currently active policy repo, this action means to turn off the gitops feature.\nIf there is no active policy repo, this action will do nothing."
        },
        {
          "info": {
            "name": "Get Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos/:repo_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "repo_id",
                "value": "my_policy_repo",
                "type": "path",
                "description": "Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single repository matching the given repo_id, if such repository exists."
        },
        {
          "info": {
            "name": "Delete Policy Repo",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/projects/:proj_id/repos/:repo_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "repo_id",
                "value": "my_policy_repo",
                "type": "path",
                "description": "Either the unique id of the policy repo, or the URL-friendly key of the policy repo (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes an environment and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Elements Configs (EAP)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Elements Configs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the elements_configs under the active organization."
        },
        {
          "info": {
            "name": "Create Elements Config",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new elements_config under the active organization."
        },
        {
          "info": {
            "name": "Get Elements Config",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single elements_config matching the given elements_config_id, if such elements_config exists."
        },
        {
          "info": {
            "name": "Update Elements Config",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the elements_config."
        },
        {
          "info": {
            "name": "Get Elements Config Runtime",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/runtime",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a single elements_config matching the given elements_config_id, if such elements_config exists."
        },
        {
          "info": {
            "name": "Delete Elements Config",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/:elements_config_id",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the elements_config and all its related data."
        }
      ]
    },
    {
      "info": {
        "name": "Users Elements Data",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/users",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the email field"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the users defined within an environment."
        },
        {
          "info": {
            "name": "Create user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/users",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new user inside the Permit.io system, from that point forward\nyou may run permission checks on that user.\n\nIf the user is already created: will return 200 instead of 201,\nand will return the existing user object in the response body."
        },
        {
          "info": {
            "name": "Delete user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/users/:user_id",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete user"
        },
        {
          "info": {
            "name": "List all Elements User Invites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/user-invites",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the email field"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Status of the user invite"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all Elements User Invites for the current environment and tenant."
        },
        {
          "info": {
            "name": "List roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/roles",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the email field"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the users defined within an environment."
        },
        {
          "info": {
            "name": "Assign role to user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/users/:user_id/roles",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Assigns a role to the user within the tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant."
        },
        {
          "info": {
            "name": "Unassign role from user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/users/:user_id/roles",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "Either the unique id of the user, or the URL-friendly key of the user (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "resource_instance_id",
                "value": "",
                "type": "query",
                "description": "For ReBAC Elements, the resource instance ID or key to work on"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Unassigns the role from the user within the tenant.\n\nThe tenant defines the scope of the assignment. In other words, the role is effective only within the tenant.\n\nIf the role is not actually assigned, will return 404."
        },
        {
          "info": {
            "name": "Set Config Active",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/active",
            "params": [
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the embed_config."
        }
      ]
    },
    {
      "info": {
        "name": "Audit Elements Data",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List audit logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/data/audit_logs",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Text search for the email field"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists audit logs for for specific elements config (tenant scope)"
        }
      ]
    },
    {
      "info": {
        "name": "Operation Approval (EAP)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Operation Approvals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Optional status filter, will only return access requests with this status."
              },
              {
                "name": "resource",
                "value": "",
                "type": "query",
                "description": "Optional resource filter, will only return access request granted in that resource."
              },
              {
                "name": "resource_instance",
                "value": "",
                "type": "query",
                "description": "Optional resource instance filter, will only return access request granted in that resource instance."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Operation Approvals"
        },
        {
          "info": {
            "name": "Create Operation Approval",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create Operation Approval"
        },
        {
          "info": {
            "name": "Get Operation Approval",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval/:operation_approval_id",
            "params": [
              {
                "name": "operation_approval_id",
                "value": "my_operation_approval",
                "type": "path",
                "description": "Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Operation Approval"
        },
        {
          "info": {
            "name": "Update Operation Approval Reviewer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval/:operation_approval_id/reviewer",
            "params": [
              {
                "name": "operation_approval_id",
                "value": "my_operation_approval",
                "type": "path",
                "description": "Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Operation Approval Reviewer"
        },
        {
          "info": {
            "name": "Approve Operation Approval",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval/:operation_approval_id/approve",
            "params": [
              {
                "name": "operation_approval_id",
                "value": "my_operation_approval",
                "type": "path",
                "description": "Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Approve Operation Approval"
        },
        {
          "info": {
            "name": "Deny Operation Approval",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval/:operation_approval_id/deny",
            "params": [
              {
                "name": "operation_approval_id",
                "value": "my_operation_approval",
                "type": "path",
                "description": "Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deny Operation Approval"
        },
        {
          "info": {
            "name": "Cancel Operation Approval",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/elements/:proj_id/:env_id/config/:elements_config_id/operation_approval/:operation_approval_id/cancel",
            "params": [
              {
                "name": "operation_approval_id",
                "value": "my_operation_approval",
                "type": "path",
                "description": "Either the unique id of the operation_approval, or the URL-friendly key of the operation_approval (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "elements_config_id",
                "value": "my_elements_config",
                "type": "path",
                "description": "Either the unique id of the elements_config, or the URL-friendly key of the elements_config (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Cancel Operation Approval"
        }
      ]
    },
    {
      "info": {
        "name": "Default",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Api Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/history",
            "params": [
              {
                "name": "method",
                "value": "",
                "type": "query",
                "description": "HTTP methods to include in search"
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "API paths to include in search"
              },
              {
                "name": "success",
                "value": "",
                "type": "query",
                "description": "Filter by API request success/failure"
              },
              {
                "name": "status_code",
                "value": "",
                "type": "query",
                "description": "HTTP status codes to include in search"
              },
              {
                "name": "client_ip",
                "value": "",
                "type": "query",
                "description": "IPs of clients to include in search"
              },
              {
                "name": "actor_type",
                "value": "",
                "type": "query",
                "description": "Actor type to search (member, user, api_key)"
              },
              {
                "name": "actor_id",
                "value": "",
                "type": "query",
                "description": "Actor ID to search"
              },
              {
                "name": "actor_display_name",
                "value": "",
                "type": "query",
                "description": "Actor display name to search"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query",
                "description": "Projects to include in search"
              },
              {
                "name": "env_id",
                "value": "",
                "type": "query",
                "description": "Environments to include in search"
              },
              {
                "name": "timestamp_from",
                "value": "",
                "type": "query",
                "description": "Retrieve only events after this timestamp (seconds since epoch)"
              },
              {
                "name": "timestamp_until",
                "value": "",
                "type": "query",
                "description": "Retrieve only events before this timestamp (seconds since epoch)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Fetches all API History events for given filters."
        },
        {
          "info": {
            "name": "Get Api Event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/history/:event_id",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns full information, including request and response bodies, for one event."
        },
        {
          "info": {
            "name": "Get Request Body",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/history/:event_id/request",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Request Body"
        },
        {
          "info": {
            "name": "Get Response Body",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/history/:event_id/response",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Response Body"
        },
        {
          "info": {
            "name": "List Activity Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/activity",
            "params": [
              {
                "name": "actor_id",
                "value": "",
                "type": "query",
                "description": "Actor ID to search"
              },
              {
                "name": "actor_display_name",
                "value": "",
                "type": "query",
                "description": "Actor display name to search"
              },
              {
                "name": "actor_type",
                "value": "",
                "type": "query",
                "description": "Actor type to search (member, user, api_key)"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query",
                "description": "Projects to include in search"
              },
              {
                "name": "env_id",
                "value": "",
                "type": "query",
                "description": "Environments to include in search"
              },
              {
                "name": "timestamp_from",
                "value": "",
                "type": "query",
                "description": "Retrieve only events after this timestamp (seconds since epoch)"
              },
              {
                "name": "timestamp_until",
                "value": "",
                "type": "query",
                "description": "Retrieve only events before this timestamp (seconds since epoch)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Fetches all API History events for given filters."
        },
        {
          "info": {
            "name": "List Activity Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/deprecated/activity/types",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Activity Types"
        }
      ]
    },
    {
      "info": {
        "name": "API History",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Api Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/history",
            "params": [
              {
                "name": "method",
                "value": "",
                "type": "query",
                "description": "HTTP methods to include in search"
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "API paths to include in search"
              },
              {
                "name": "success",
                "value": "",
                "type": "query",
                "description": "Filter by API request success/failure"
              },
              {
                "name": "status_code",
                "value": "",
                "type": "query",
                "description": "HTTP status codes to include in search"
              },
              {
                "name": "client_ip",
                "value": "",
                "type": "query",
                "description": "IPs of clients to include in search"
              },
              {
                "name": "actor_type",
                "value": "",
                "type": "query",
                "description": "Actor type to search (member, user, api_key)"
              },
              {
                "name": "actor_id",
                "value": "",
                "type": "query",
                "description": "Actor ID to search"
              },
              {
                "name": "actor_display_name",
                "value": "",
                "type": "query",
                "description": "Actor display name to search"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query",
                "description": "Projects to include in search"
              },
              {
                "name": "env_id",
                "value": "",
                "type": "query",
                "description": "Environments to include in search"
              },
              {
                "name": "timestamp_from",
                "value": "",
                "type": "query",
                "description": "Retrieve only events after this timestamp (seconds since epoch)"
              },
              {
                "name": "timestamp_until",
                "value": "",
                "type": "query",
                "description": "Retrieve only events before this timestamp (seconds since epoch)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Fetches all API History events for given filters.\nAvailable to members with Viewer (or higher) role."
        },
        {
          "info": {
            "name": "Get Api Event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/history/:event_id",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns full information, including request and response bodies, for one event."
        },
        {
          "info": {
            "name": "Get Request Body",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/history/:event_id/request",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Request Body"
        },
        {
          "info": {
            "name": "Get Response Body",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/history/:event_id/response",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Response Body"
        }
      ]
    },
    {
      "info": {
        "name": "Activity Log",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Activity Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/activity",
            "params": [
              {
                "name": "actor_id",
                "value": "",
                "type": "query",
                "description": "Actor ID to search"
              },
              {
                "name": "actor_display_name",
                "value": "",
                "type": "query",
                "description": "Actor display name to search"
              },
              {
                "name": "actor_type",
                "value": "",
                "type": "query",
                "description": "Actor type to search (member, user, api_key)"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "query",
                "description": "Projects to include in search"
              },
              {
                "name": "env_id",
                "value": "",
                "type": "query",
                "description": "Environments to include in search"
              },
              {
                "name": "timestamp_from",
                "value": "",
                "type": "query",
                "description": "Retrieve only events after this timestamp (seconds since epoch)"
              },
              {
                "name": "timestamp_until",
                "value": "",
                "type": "query",
                "description": "Retrieve only events before this timestamp (seconds since epoch)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Fetches all API History events for given filters.\nAvailable to members with Viewer (or higher) role."
        },
        {
          "info": {
            "name": "List Activity Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/activity/types",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List Activity Types"
        }
      ]
    },
    {
      "info": {
        "name": "Policy Guards (EAP)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Policy Guard Scopes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/policy_guards/scopes",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all guarding policies scopes."
        },
        {
          "info": {
            "name": "Create Policy Guard Scope",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/policy_guards/scopes",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new Policy guard scope."
        },
        {
          "info": {
            "name": "Get Policy Guard Scope",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a Policy guard scope."
        },
        {
          "info": {
            "name": "Delete Policy Guard Scope",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a Policy guard scope."
        },
        {
          "info": {
            "name": "Associate Policy Guard Scope",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id/associate",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              },
              {
                "name": "wait",
                "value": "",
                "type": "query",
                "description": "Time in seconds to wait for the task to complete. Default is 0, means no wait."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "associate a project to a Policy guard scope."
        },
        {
          "info": {
            "name": "Disassociate Policy Guard Scope",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id/disassociate",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Disassociate a project from a Policy guard scope."
        },
        {
          "info": {
            "name": "List Policy Guard Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id/rules",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of the results to fetch, starting at 1."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of results per page (max 100)."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all rules for a Policy guard scope."
        },
        {
          "info": {
            "name": "Create Policy Guard Rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id/rules",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              },
              {
                "name": "wait",
                "value": "",
                "type": "query",
                "description": "Time in seconds to wait for the task to complete. Default is 0, means no wait."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a policy guard rule."
        },
        {
          "info": {
            "name": "Delete Policy Guard Rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/policy_guards/scopes/:policy_guard_scope_id/rules",
            "params": [
              {
                "name": "policy_guard_scope_id",
                "value": "my_policy_guard_scope",
                "type": "path",
                "description": "Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a policy guard rule."
        }
      ]
    },
    {
      "info": {
        "name": "Scope Configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Scope Config",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the custom OPAL Scope config for given environment, if exists.\nIf not custom config is set, return 404."
        },
        {
          "info": {
            "name": "Set Scope Config",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Set or update the custom OPAL Scope config for a given environment."
        },
        {
          "info": {
            "name": "Reset Scope Config",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v2/projects/:proj_id/:env_id/opal_scope",
            "params": [
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Reset the custom OPAL Scope config for a given environment to the default."
        }
      ]
    },
    {
      "info": {
        "name": "Audit Log Replay",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Run the audit log replay",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/audit-log-replay",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Run the audit log replay with the given parameters. This will replay PDP requests based on audit logs."
        }
      ]
    },
    {
      "info": {
        "name": "OPAL Data ( EAP )",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Data Optimized",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id/optimized",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Data Optimized"
        },
        {
          "info": {
            "name": "Get All Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Timeout for the data generation in the new data generation mode"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Data"
        },
        {
          "info": {
            "name": "Get All Users Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id/users",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Timeout for the data generation in the new data generation mode"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Users Data"
        },
        {
          "info": {
            "name": "Get All Role Assignments Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id/role_assignments",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Timeout for the data generation in the new data generation mode"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Role Assignments Data"
        },
        {
          "info": {
            "name": "Get All Resource Instances Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id/resource_instances",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Timeout for the data generation in the new data generation mode"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Resource Instances Data"
        },
        {
          "info": {
            "name": "Get All Relationships Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/internal/opal_data/:org_id/:proj_id/:env_id/relationships",
            "headers": [
              {
                "name": "X-Shard-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "org_id",
                "value": "my_organization",
                "type": "path",
                "description": "Either the unique id of the organization, or the URL-friendly key of the organization (i.e: the \"slug\")."
              },
              {
                "name": "proj_id",
                "value": "my_project",
                "type": "path",
                "description": "Either the unique id of the project, or the URL-friendly key of the project (i.e: the \"slug\")."
              },
              {
                "name": "env_id",
                "value": "my_environment",
                "type": "path",
                "description": "Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the \"slug\")."
              },
              {
                "name": "timeout",
                "value": "",
                "type": "query",
                "description": "Timeout for the data generation in the new data generation mode"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get All Relationships Data"
        }
      ]
    }
  ],
  "bundled": true
}