---
updatedAt: 2026-09-09T13:43:58.000Z
agentTools:
  projectIndex: https://docs.ometria.com/llms.txt
---

# Create new field forget request

Erase a profile's `email` and/or `phone` while keeping the rest of the profile. For each requested field, Ometria clears the value on the profile. Nothing prevents the same value being added back to this profile later either.

`profile_hash` is the `id` of a profile, as returned by `GET /profiles/`.

Requests are processed asynchronously. A `202` means the request was accepted and queued; poll `GET /field-forget/{id}` until `status` is terminal. A request identical to one that is still `pending` or `in_progress` and less than 24 hours old returns the existing request's `id` (still `202`) rather than creating a new one, so retries are safe. Once a request has reached a terminal status, a new request for the same profile and fields is accepted again.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.1.0",
    "title": "Ometria data API",
    "description": "Welcome to the Ometria API reference.\n\n\nThe Ometria API is organized around the [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) methodology, and it uses resource-oriented URLs, and common HTTP response codes to indicate API errors. All requests are authenticated using an API key which can be obtained from your account settings.\n\n### HTTPS\n\nAll requests to the Ometria API MUST be carried out via HTTPS. API servers do not listen on unsecured HTTP ports to avoid the possibility of insecure information exchange.\n\n### Message encoding\n\nThe V2 Ometria API uses JSON encoding for all data exchanges and assumes UTF-8 character encoding throughout.\n\n### Rate limits\n\nThe Ometria API has a default rate limit of 4 requests per second per Ometria account. The /push/ endpoint allows 8 requests per second per Ometria account. If you expect to exceed this limit, please contact us.\n\nIn the case of your application being rate limited, the HTTP code 429 (too many requests) will be returned. In this case your application should reduce the number of requests it is trying to send.",
    "contact": {
      "name": "Ometria",
      "email": "support@ometria.com",
      "url": "https://ometria.com"
    }
  },
  "x-explorer-enabled": false,
  "paths": {
    "/field-forget": {
      "post": {
        "tags": [
          "Field forget (email / phone erasure)"
        ],
        "summary": "Create new field forget request",
        "description": "Erase a profile's `email` and/or `phone` while keeping the rest of the profile. For each requested field, Ometria clears the value on the profile. Nothing prevents the same value being added back to this profile later either.\n\n`profile_hash` is the `id` of a profile, as returned by `GET /profiles/`.\n\nRequests are processed asynchronously. A `202` means the request was accepted and queued; poll `GET /field-forget/{id}` until `status` is terminal. A request identical to one that is still `pending` or `in_progress` and less than 24 hours old returns the existing request's `id` (still `202`) rather than creating a new one, so retries are safe. Once a request has reached a terminal status, a new request for the same profile and fields is accepted again.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FieldForgetSubmission"
              },
              "examples": {
                "single_field": {
                  "summary": "Forget the email address only",
                  "value": {
                    "profile_hash": "27f4-f0b281-00003039",
                    "fields": [
                      "email"
                    ]
                  }
                },
                "both_fields": {
                  "summary": "Forget both the email address and the phone number",
                  "value": {
                    "profile_hash": "27f4-f0b281-00003039",
                    "fields": [
                      "email",
                      "phone"
                    ]
                  }
                }
              }
            }
          },
          "description": "Provide the `profile_hash` of the profile and the `fields` to erase: `email`, `phone`, or both.",
          "required": true
        },
        "responses": {
          "202": {
            "description": "Field forget request accepted and queued for processing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldForgetPostResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid payload.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldForgetErrorMessage"
                },
                "examples": {
                  "fields_missing_or_empty": {
                    "summary": "`fields` missing, empty or not a list",
                    "value": {
                      "message": "fields must be a non-empty list",
                      "status": 400,
                      "title": "Bad Request"
                    }
                  },
                  "fields_unsupported": {
                    "summary": "`fields` contains an unsupported value",
                    "value": {
                      "message": "fields must be a subset of email, phone",
                      "status": 400,
                      "title": "Bad Request"
                    }
                  },
                  "profile_hash_malformed": {
                    "summary": "`profile_hash` missing, not lowercase, or not a valid profile hash",
                    "value": {
                      "message": "profile_hash is malformed",
                      "status": 400,
                      "title": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "API key is not authorised to access this resource."
          },
          "404": {
            "description": "Profile not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldForgetErrorMessage"
                },
                "example": {
                  "message": "Profile doesn't exist",
                  "status": 404,
                  "title": "Resource Not Found"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apikey": []
    }
  ],
  "servers": [
    {
      "url": "https://api.ometria.com/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apikey": {
        "type": "apiKey",
        "name": "X-Ometria-Auth",
        "in": "header",
        "description": "Ometria API key which can be obtained from your Ometria account administrator"
      }
    },
    "schemas": {
      "FieldForgetPostResponse": {
        "type": "object",
        "description": "Response to a field forget request submission",
        "properties": {
          "id": {
            "type": "string",
            "description": "The request ID. Use it with `GET /field-forget/{id}` to poll for the outcome. An identical request that is still in flight and less than 24 hours old returns the ID of the existing request."
          }
        },
        "example": {
          "id": "6f1c2a0e-3b7d-4c8a-9e21-5d0f7b8a4c13"
        }
      },
      "FieldForgetSubmission": {
        "type": "object",
        "description": "Field forget request submission. Identifies one profile by its `profile_hash` and names the field(s) to erase.",
        "required": [
          "profile_hash",
          "fields"
        ],
        "properties": {
          "profile_hash": {
            "type": "string",
            "description": "The profile hash of the profile to act on, as returned by `GET /profiles/`.",
            "pattern": "^[0-9a-f]+-[0-9a-f]{6}-[0-9a-f]{8,}$",
            "example": "27f4-f0b281-00003039"
          },
          "fields": {
            "type": "array",
            "description": "The field(s) to erase: `email`, `phone`, or both. Order does not matter and duplicates are ignored; the request is stored and returned with the fields sorted alphabetically.",
            "minItems": 1,
            "items": {
              "type": "string",
              "description": "A field that can be forgotten. This list is the set supported by the service and is kept in sync via the service's own spec test.",
              "enum": [
                "email",
                "phone"
              ]
            }
          }
        },
        "example": {
          "profile_hash": "27f4-f0b281-00003039",
          "fields": [
            "email"
          ]
        }
      },
      "FieldForgetErrorMessage": {
        "type": "object",
        "description": "Error returned by the field forget endpoints.",
        "properties": {
          "message": {
            "type": "string",
            "description": "What was wrong with the request."
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code."
          },
          "title": {
            "type": "string",
            "description": "Short description of the error class."
          }
        },
        "example": {
          "message": "fields must be a subset of email, phone",
          "status": 400,
          "title": "Bad Request"
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```