---
updatedAt: 2026-05-27T19:42:41.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Change password for a Contact

This method will change the password for the specified contact ID provided the password sent is correct and a new password is sent.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/contact/{contactId}/password": {
      "parameters": [
        {
          "description": "\"ID of Contact to change password\"",
          "in": "path",
          "name": "contactId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "put": {
        "operationId": "put_password_resource",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Password"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Password was changed."
          },
          "400": {
            "description": "Invalid contact password for authentication."
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          }
        },
        "summary": "Change password for a Contact",
        "tags": [
          "Contact"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to manager Contacts",
      "name": "Contact"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "Password": {
        "properties": {
          "newPassword": {
            "description": "New Contact password",
            "type": "string"
          },
          "password": {
            "description": "Current Contact password",
            "type": "string"
          }
        },
        "required": [
          "newPassword",
          "password"
        ],
        "type": "object"
      }
    }
  }
}
```