---
updatedAt: 2026-09-14T15:59:30.000Z
agentTools:
  projectIndex: https://docs.vopay.com/llms.txt
---

# account/keys/edit

This endpoint allows the user to edit an API key's label associated to their account

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2.0",
    "title": "Integrations and Support",
    "description": "The Integrations and Support API defines endpoints for configuring integrations with  Plaid, Flinks, Inverite, and Global Pay, managing API keys, and handling support tickets. It also  includes endpoints for setting and testing webhook URLs, and fetching webhook notifications for  account and partner accounts.",
    "contact": {
      "name": "API Support",
      "email": "help@vopay.com"
    }
  },
  "paths": {
    "/account/keys/edit": {
      "post": {
        "description": "This endpoint allows the user to edit an API key's label associated to their account",
        "summary": "account/keys/edit",
        "tags": [
          "API Key Endpoints"
        ],
        "operationId": "APIKeysEditPost",
        "deprecated": false,
        "requestBody": {
          "$ref": "#/components/requestBodies/APIKeysEditPost"
        },
        "responses": {
          "200": {
            "description": "",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "Success",
                    "ErrorMessage",
                    "Key"
                  ],
                  "properties": {
                    "Success": {
                      "type": "boolean",
                      "description": "True if the request was successful, false if it failed",
                      "example": true
                    },
                    "ErrorMessage": {
                      "type": "string",
                      "description": "Contains a description of the error if the request failed",
                      "example": ""
                    },
                    "Key": {
                      "type": "object",
                      "description": "Array serialized as a JSON object (JSON_FORCE_OBJECT): numeric string keys '0','1',... The API Key associated with the account. Empty {} when no key is returned.",
                      "x-list-of": "inline",
                      "x-empty-when": "no key is returned",
                      "properties": {
                        "0": {
                          "type": "object",
                          "required": [
                            "KeyID",
                            "Label",
                            "Key",
                            "Secret",
                            "AccessScope"
                          ],
                          "properties": {
                            "KeyID": {
                              "type": "integer",
                              "description": "ID associated with the key. Can be used with the retrieve endpoint to get sensitive key data",
                              "example": "1201"
                            },
                            "Label": {
                              "type": "string",
                              "description": "The user submitted label for the API Key",
                              "example": ""
                            },
                            "Key": {
                              "type": "string",
                              "description": "The actual key value",
                              "example": ""
                            },
                            "Secret": {
                              "type": "string",
                              "description": "The secret associated with the key",
                              "example": ""
                            },
                            "AccessScope": {
                              "type": "string",
                              "description": "The scope of access associated with the key",
                              "example": ""
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://earthnode-dev.vopay.com/api/v2"
    }
  ],
  "components": {
    "requestBodies": {
      "APIKeysEditPost": {
        "content": {
          "application/x-www-form-urlencoded": {
            "schema": {
              "type": "object",
              "properties": {
                "AccountID": {
                  "description": "Your account ID",
                  "type": "string"
                },
                "Key": {
                  "description": "API key for the account",
                  "type": "string"
                },
                "Signature": {
                  "description": "Hashed signature for the request",
                  "type": "string"
                },
                "KeyID": {
                  "description": "The ID of the key. Can be fetched through the /keys endpoint",
                  "type": "integer"
                },
                "Label": {
                  "description": "The label you want associated with the key",
                  "type": "string"
                }
              },
              "required": [
                "AccountID",
                "Key",
                "Signature",
                "KeyID",
                "Label"
              ]
            }
          }
        },
        "required": true
      }
    }
  }
}
```