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

# Update an upload account's FTP keys

Save an upload account's FTP keys based on its `uploadAccountId` and FTP `identity`.

# 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}/keys/ftp/{identity}": {
      "put": {
        "description": "Save an upload account's FTP keys based on its `uploadAccountId` and FTP `identity`.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's NetStorage Configuration API",
          "url": "https://techdocs.akamai.com/netstorage/reference/put-upload-account-keys-ftp-identity"
        },
        "operationId": "put-upload-account-keys-ftp-identity",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "comments": "Updated access key.",
                "key": "xcvsfbagwj78hsiiud9xkmlmlsdjjehwhuehkx8d3mw8hwq",
                "required": [
                  "key"
                ]
              },
              "schema": {
                "additionalProperties": false,
                "description": "Manage your upload account access keys.",
                "properties": {
                  "comments": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  }
                },
                "required": [
                  "key"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/ftp-keys-put.yaml"
                }
              }
            }
          },
          "required": true
        },
        "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": "Update an upload account's FTP keys",
        "tags": [
          "FTP keys"
        ]
      },
      "parameters": [
        {
          "description": "Unique representation of SSH Key. This value can be obtained by performing a GET for a specific upload account.",
          "in": "path",
          "name": "identity",
          "required": true,
          "schema": {
            "type": "string"
          },
          "x-akamai": {
            "file-path": "parameters/identity-path.yaml"
          }
        },
        {
          "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/identity-ftp.yaml",
        "path-info": "/upload-accounts/{uploadAccountId}/keys/ftp/{identity}"
      }
    }
  },
  "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

* [Add keys to an FTP upload account](https://techdocs.akamai.com/netstorage/reference/put-upload-account-keys-ftp.md)
* [Enable an upload account's FTP keys](https://techdocs.akamai.com/netstorage/reference/post-upload-account-keys-ftp-identity.md)
* [Delete an upload account's FTP keys](https://techdocs.akamai.com/netstorage/reference/delete-upload-account-keys-ftp-identity.md)
* [Disable an upload account's FTP keys](https://techdocs.akamai.com/netstorage/reference/post-upload-account-keys-ftp-identity-disable.md)
* [Extend your FTP password](https://techdocs.akamai.com/netstorage/reference/post-upload-account-keys-ftp-identity-extend.md)