---
updatedAt: 2026-06-25T14:30:19.000Z
agentTools:
  projectIndex: https://personalization.developer.dotdigital.com/llms.txt
---

# Update person

Updates a persons details.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "People API",
    "description": "Manages people (contact) records within Dotdigital Personalization. People records store identity and behavioural attributes used to drive personalised experiences. Operations include listing and searching people, retrieving a specific person's profile, updating person attributes, and deleting person records.",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://{region}-api-freshrelevance.dotdigital.com/api",
      "variables": {
        "region": {
          "description": "The region id your account belongs to",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "default": "r1"
        }
      }
    }
  ],
  "security": [
    {
      "apiTokenAuth": []
    }
  ],
  "paths": {
    "/{website_id}/people/{person_id}/": {
      "put": {
        "tags": [
          "Manage people"
        ],
        "summary": "Update person",
        "description": "Updates a persons details.",
        "operationId": "putUpdatePerson",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "Website ID for the account you are posting data to.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "abc123"
          },
          {
            "name": "format",
            "in": "query",
            "description": "Get data in JSON format.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "json"
              ]
            },
            "example": "json"
          },
          {
            "name": "person_id",
            "in": "path",
            "description": "The Dotdigital Personalization person id to update.",
            "required": true,
            "schema": {
              "type": "string",
              "example": "67114952eb52d7121aa01135"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PersonRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Update successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/inline_response_200_2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/403Response"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PersonRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "Email address",
            "format": "email",
            "example": "joe.bloggs@emailsim.io"
          },
          "eid": {
            "type": "string",
            "description": "External identifier.",
            "nullable": true,
            "example": "12345"
          },
          "do_not_process": {
            "type": "boolean",
            "description": "Indicate that the person should not have their data processed.",
            "nullable": true
          },
          "explicitPermission": {
            "type": "boolean",
            "description": "Permission to market via email.",
            "nullable": true
          },
          "email_exclusion": {
            "type": "boolean",
            "description": "Indicate that the person should not recieve emails.",
            "nullable": true
          }
        },
        "additionalProperties": {
          "type": "string",
          "description": "You can add additonal fields using the fields naming conventions of:\n* **extend.**_{Your field name}_ - Add extension data to person\n* **content.**_{Your field name}_ - Add content data to person"
        },
        "example": {
          "eid": 1234,
          "explicitPermission": true,
          "extend.favourite_colour": "red",
          "content.greeting": "Hey,"
        }
      },
      "inline_response_200_2": {
        "required": [
          "ok"
        ],
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean",
            "description": "Indicates whether the call succeeded.",
            "enum": [
              true
            ]
          }
        }
      }
    },
    "responses": {
      "ErrorResponse": {
        "description": "An error occurred",
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "error",
                "ok"
              ],
              "type": "object",
              "properties": {
                "ok": {
                  "type": "boolean",
                  "description": "Indicates the call failed",
                  "enum": [
                    false
                  ]
                },
                "error": {
                  "oneOf": [
                    {
                      "type": "string",
                      "description": "The reason the call errored",
                      "example": "Validation error. No folder bd8eciompb7y, unable to delete"
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "example": "This field may not be null."
                        }
                      },
                      "description": "Fields with issues and their errors"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "403Response": {
        "description": "Forbidden - Usually you are requesting data for a website you don't have access to."
      }
    },
    "securitySchemes": {
      "apiTokenAuth": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ]
}
```

# Sibling pages

* [List people](https://personalization.developer.dotdigital.com/reference/getlistpeople.md)
* [Search people](https://personalization.developer.dotdigital.com/reference/getsearchpeople.md)
* [Get person](https://personalization.developer.dotdigital.com/reference/getgetperson.md)
* [Delete person](https://personalization.developer.dotdigital.com/reference/deldeleteperson.md)