---
updatedAt: 2026-04-02T13:28:05.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/netstorage/llms.txt
---

# Disable an upload account

Disable an upload account based on its `uploadAccountId`.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's NetStorage Configuration API",
    "url": "https://techdocs.akamai.com/netstorage/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Upload accounts",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/upload-accounts/{uploadAccountId}/disable": {
      "post": {
        "description": "Disable an upload account based on its `uploadAccountId`.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's NetStorage Configuration API",
          "url": "https://techdocs.akamai.com/netstorage/reference/post-upload-account-disable"
        },
        "operationId": "post-upload-account-disable",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {},
            "description": "Request OK."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "errors": {
                      "description": "A further-nested problem object.",
                      "items": {
                        "description": "A further-nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "instance": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "Badly formatted JSON. Compare with the schema.",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "401": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "errors": {
                      "description": "A further-nested problem object.",
                      "items": {
                        "description": "A further-nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "instance": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "Unauthorized Request.",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "detail": {
                      "type": "string"
                    },
                    "errors": {
                      "description": "A further-nested problem object.",
                      "items": {
                        "description": "A further-nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "type": "array"
                    },
                    "instance": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "Application permission error.",
            "x-akamai": {
              "file-path": "errors/403.yaml"
            }
          },
          "429": {
            "content": {},
            "description": "The maximum request count for a specific time duration for this resource has been reached.",
            "headers": {
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "string"
                },
                "x-akamai": {
                  "file-path": "headers/x-rate-limit-limit.yaml"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "string"
                },
                "x-akamai": {
                  "file-path": "headers/x-rate-limit-remaining.yaml"
                }
              }
            },
            "x-akamai": {
              "file-path": "errors/429.yaml"
            }
          }
        },
        "summary": "Disable an upload account",
        "tags": [
          "Accounts"
        ]
      },
      "parameters": [
        {
          "description": "The unique ID assigned to the target upload account. This value can be obtained by performing a [GET](ref:get-upload-account) of all of your accounts and obtaining this value for the desired account.",
          "in": "path",
          "name": "uploadAccountId",
          "required": true,
          "schema": {
            "example": "abxupllasgx",
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/upload-account-id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/disable-upload-account.yaml",
        "path-info": "/upload-accounts/{uploadAccountId}/disable"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/storage/v1"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "03-upload-accounts.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [List upload accounts](https://techdocs.akamai.com/netstorage/reference/get-upload-accounts.md)
* [Create a new upload account](https://techdocs.akamai.com/netstorage/reference/post-upload-accounts.md)
* [Get an upload account](https://techdocs.akamai.com/netstorage/reference/get-upload-account.md)
* [Edit an upload account](https://techdocs.akamai.com/netstorage/reference/put-upload-account.md)
* [Enable an upload account](https://techdocs.akamai.com/netstorage/reference/post-upload-account-enable.md)