{
  "opencollection": "1.0.0",
  "info": {
    "name": "API Reference subpackage_accounts subpackage_secrets API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List secrets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.x.flatfile.com/v1/secrets",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Disable-Hooks",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "query",
                "description": "The Environment of the secret."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "query",
                "description": "The Space of the secret."
              },
              {
                "name": "actorId",
                "value": "",
                "type": "query",
                "description": "The Actor of the secret."
              }
            ]
          },
          "docs": "Fetch all secrets for a given environmentId and optionally apply space overrides"
        },
        {
          "info": {
            "name": "Upsert a Secret",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.x.flatfile.com/v1/secrets",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Disable-Hooks",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Insert or Update a Secret by name for environment or space"
        },
        {
          "info": {
            "name": "Delete a secret by it's Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.x.flatfile.com/v1/secrets/:secretId",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Disable-Hooks",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "secretId",
                "value": "",
                "type": "path",
                "description": "The ID of the secret."
              }
            ]
          },
          "docs": "Deletes a specific Secret from the Environment or Space as is the case"
        }
      ]
    }
  ],
  "bundled": true
}