---
updatedAt: 2026-06-22T22:36:27.000Z
agentTools:
  projectIndex: https://developer.noip.com/llms.txt
---

# Edit a DDNS key.

Edit the data and hostnames attached to a DDNS key.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0.0",
    "title": "No-IP API",
    "description": "No-IP API\n"
  },
  "servers": [
    {
      "url": "https://api.noip.com",
      "description": "Production environment. Data at this URL is published to production DNS network."
    }
  ],
  "tags": [
    {
      "name": "DDNS Keys",
      "description": "Dynamic DNS authentication keys.",
      "x-displayName": "DDNS Keys"
    }
  ],
  "paths": {
    "/v1/account/ddns-keys/{ddns_key_username}": {
      "put": {
        "tags": [
          "DDNS Keys"
        ],
        "summary": "Edit a DDNS key.",
        "description": "Edit the data and hostnames attached to a DDNS key.",
        "operationId": "v1/accountUpdateDDNSKey",
        "parameters": [
          {
            "$ref": "#/components/parameters/ddns_key_username"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountDDNSKeyRequestEditAPI"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Updated",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/AccountVoidHttpResource"
                    },
                    {
                      "properties": {
                        "warnings": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/AccountWarning"
                          }
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": []
          },
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Open [https://my.noip.com/auth/api-keys](https://my.noip.com/auth/api-keys) to start using the No-IP API",
        "scheme": "basic",
        "x-visibility": "public"
      },
      "Bearer": {
        "type": "http",
        "description": "Open [https://my.noip.com/auth/api-keys](https://my.noip.com/auth/api-keys) to start using the No-IP API",
        "scheme": "bearer",
        "x-visibility": "public"
      }
    },
    "parameters": {
      "ddns_key_username": {
        "name": "ddns_key_username",
        "in": "path",
        "description": "The username identifier of a DDNS key.",
        "required": true,
        "deprecated": false,
        "schema": {
          "type": "string"
        },
        "example": "kgp25ha"
      }
    },
    "schemas": {
      "AccountWarning": {
        "properties": {
          "title": {
            "description": "A title for this warning.",
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "description": "Contextual information about this warning.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "A code for this warning.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "AccountErrorResponse": {
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountWarning"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountError"
            }
          }
        },
        "type": "object"
      },
      "AccountDDNSKeyRequestEditAPI": {
        "required": [
          "targets"
        ],
        "properties": {
          "description": {
            "type": "string"
          },
          "targets": {
            "type": "array",
            "items": {
              "properties": {
                "name": {
                  "description": "The DNS name, not including the zone portion.",
                  "type": "string",
                  "example": "dns-name"
                },
                "zone_name": {
                  "description": "The name of the zone.",
                  "type": "string",
                  "example": "example.com"
                }
              },
              "type": "object"
            }
          }
        },
        "type": "object"
      },
      "AccountVoidHttpResource": {},
      "AccountError": {
        "properties": {
          "location": {
            "description": "Specific information about where this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "description": "Specific information about why this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "description": "an application-specific text describing the code.",
            "type": [
              "string",
              "null"
            ]
          },
          "pointer": {
            "description": "Detailed information about where this code was emitted.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "an application-specific error code",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "description": "a unique code to identify this error instance",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "Eureka API",
      "tags": [
        "clients",
        "DDNS Keys"
      ]
    },
    {
      "name": "No-IP DNS API",
      "tags": [
        "zones",
        "zone_authorities",
        "records",
        "meta"
      ]
    }
  ]
}
```