{
  "opencollection": "1.0.0",
  "info": {
    "name": "Prefect Cloud Account Billing Bots API",
    "version": "0.8.4"
  },
  "items": [
    {
      "info": {
        "name": "Bots",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Bot",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Bot\n\nRequired account permissions: `create:bot`"
        },
        {
          "info": {
            "name": "Read Bot",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a bot by id.\n\nRequired account permissions: `read:bot`"
        },
        {
          "info": {
            "name": "Update Bot",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a bot by id.\n\nRequired account permissions: `update:bot`"
        },
        {
          "info": {
            "name": "Delete Bot",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a bot by id.\n\nRequired account permissions: `delete:bot`"
        },
        {
          "info": {
            "name": "Read Bots",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/filter",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Query for bots.\n\nRequired account permissions: `read:bot`"
        },
        {
          "info": {
            "name": "Rotate Api Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id/rotate_api_key",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rotate the api key for a Bot.\n\nRequired account permissions: `update:bot`"
        },
        {
          "info": {
            "name": "Read Bot Api Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id/read_bot_api_keys",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a bot's api keys by id.\n\nRequired account permissions: `read:bot`"
        },
        {
          "info": {
            "name": "Delete Bot Api Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/accounts/:account_id/bots/:id/delete_bot_api_key/:api_key_id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "api_key_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a bot's api key by id.\n\nRequired account permissions: `update:bot`"
        }
      ]
    }
  ],
  "bundled": true
}