{
  "opencollection": "1.0.0",
  "info": {
    "name": "AI Hub Audit Secrets API",
    "version": "0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List secrets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aihub.instabase.com/api/v2/aihub/secrets",
            "headers": [
              {
                "name": "IB-Context",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "query",
                "description": "Show secrets available in the specified workspace.\n\n<Info>Only members of a workspace can access secrets that are available within that workspace.</Info>\n"
              },
              {
                "name": "alias",
                "value": "",
                "type": "query",
                "description": "Get the secret with the specified alias.\n"
              }
            ]
          },
          "docs": "<span class=\"badge\">Commercial & Enterprise</span>\n\nList secrets available to the organization, available to a given workspace, or with a given alias.\n\n<Note>Only organization admins can list all secrets in the organization. Non-admins must specify a workspace.</Note>\n"
        },
        {
          "info": {
            "name": "Create secret",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://aihub.instabase.com/api/v2/aihub/secrets",
            "headers": [
              {
                "name": "IB-Context",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<span class=\"badge\">Commercial & Enterprise</span>\n\nCreate a new secret in this organization.\n\n<Note>Only organization admins can create secrets.</Note>\n"
        },
        {
          "info": {
            "name": "Update secret",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://aihub.instabase.com/api/v2/aihub/secrets",
            "headers": [
              {
                "name": "IB-Context",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<span class=\"badge\">Commercial & Enterprise</span>\n\nUpdate the description, value, or allowed workspaces for a secret. If a value for a parameter is not specified, it will remain the same.\n\n<Note>Only organization admins can update secrets.</Note>\n"
        },
        {
          "info": {
            "name": "Delete secret",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://aihub.instabase.com/api/v2/aihub/secrets",
            "headers": [
              {
                "name": "IB-Context",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<span class=\"badge\">Commercial & Enterprise</span>\n\nDelete a secret from the organization.\n\n<Note>Only organization admins can delete secrets.</Note>\n"
        }
      ]
    }
  ],
  "bundled": true
}