{
  "opencollection": "1.0.0",
  "info": {
    "name": "Infisical Admin Identities API",
    "version": "0.0.1"
  },
  "items": [
    {
      "info": {
        "name": "Identities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listProjectMachineIdentities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us.infisical.com/api/v1/projects/:projectId/identities",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The offset to start from. If you enter 10, it will start from the 10th identity."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of identities to return."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "The text string that identity names will be filtered by."
              },
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List identities in a project"
        },
        {
          "info": {
            "name": "createProjectMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v1/projects/:projectId/identities",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project to create the identity in"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create an identity in a project"
        },
        {
          "info": {
            "name": "getProjectMachineIdentityById",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us.infisical.com/api/v1/projects/:projectId/identities/:identityId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project"
              },
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to get details."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get an identity by ID in a project"
        },
        {
          "info": {
            "name": "updateProjectMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://us.infisical.com/api/v1/projects/:projectId/identities/:identityId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project"
              },
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an identity in a project"
        },
        {
          "info": {
            "name": "deleteProjectMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://us.infisical.com/api/v1/projects/:projectId/identities/:identityId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The ID of the project"
              },
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an identity from a project"
        },
        {
          "info": {
            "name": "listMachineIdentities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us.infisical.com/api/v1/identities",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "query",
                "description": "The ID of the organization to list identities."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List machine identities"
        },
        {
          "info": {
            "name": "createMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v1/identities",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create machine identity"
        },
        {
          "info": {
            "name": "getMachineIdentityById",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us.infisical.com/api/v1/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to get details."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a machine identity by id"
        },
        {
          "info": {
            "name": "updateMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://us.infisical.com/api/v1/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update machine identity"
        },
        {
          "info": {
            "name": "deleteMachineIdentity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://us.infisical.com/api/v1/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to delete."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete machine identity"
        },
        {
          "info": {
            "name": "searchMachineIdentities",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v1/identities/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Search machine identities"
        },
        {
          "info": {
            "name": "searchMachineIdentitiesV2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v2/identities/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Search machine identities across organization and/or project scopes. Returns identities the caller has access to, each annotated with all roles assigned to that membership."
        },
        {
          "info": {
            "name": "countMachineIdentitiesV2",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v2/identities/search/count",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Return per-scope counts of machine identities matching the given search filter. The response contains a count for every scope passed in the request body (zero when the caller has no access to that scope)."
        }
      ]
    }
  ],
  "bundled": true
}