{
  "opencollection": "1.0.0",
  "info": {
    "name": "ImageKit Account Management API Origins API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Origins",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List origins",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.imagekit.io/v1/accounts/origins"
          },
          "docs": "**Note:** This API is currently in beta.  \nReturns an array of all configured origins for the current account.\n"
        },
        {
          "info": {
            "name": "Create origin",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.imagekit.io/v1/accounts/origins",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Note:** This API is currently in beta.  \nCreates a new origin and returns the origin object.\n"
        },
        {
          "info": {
            "name": "Get origin",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.imagekit.io/v1/accounts/origins/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the origin. This is generated by ImageKit when you create a new origin."
              }
            ]
          },
          "docs": "**Note:** This API is currently in beta.  \nRetrieves the origin identified by `id`.\n"
        },
        {
          "info": {
            "name": "Update origin",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.imagekit.io/v1/accounts/origins/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the origin. This is generated by ImageKit when you create a new origin."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "**Note:** This API is currently in beta.  \nUpdates the origin identified by `id` and returns the updated origin object.\n"
        },
        {
          "info": {
            "name": "Delete origin",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.imagekit.io/v1/accounts/origins/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for the origin. This is generated by ImageKit when you create a new origin."
              }
            ]
          },
          "docs": "**Note:** This API is currently in beta.  \nPermanently removes the origin identified by `id`. If the origin is in use by any URL‑endpoints, the API will return an error.\n"
        }
      ]
    }
  ],
  "bundled": true
}