{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This operation allows you to delete your recipients' personal email data**\n\nThe Delete Recipients' Email Data operation accepts a list of 5,000 `email_addresses` or a total payload size of 256Kb per request, whichever comes first. Upon a successful request with this operation, SendGrid will run a search on the email addresses provided against the SendGrid system to identify matches. SendGrid will then delete all personal data associated with the matched users such as the recipients' names, email addresses, subject lines, categories, and IP addresses.\n\nThis endpoint is rate limited to 100 requests per minute. If more requests need to be made, consider using the batch option to include multiple email addresses in each request (up to 5,000 addresses per request).\n\nAll email addresses are filtered for uniqueness and tested for structural validity—any invalid addresses will be returned in an error response.\n\nPlease note that recipient data is deleted for the account making the request only—deletions do not cascade from a parent account to its Subusers' recipients. To delete a Subuser's recipients' data, you can use the `on-behalf-of` header.","properties":{"headers":{"type":"object","properties":{"on-behalf-of":{"type":"string","description":"The `on-behalf-of` header allows you to make API calls from a parent account on behalf of the parent's Subusers or customer accounts. You will use the parent account's API key when using this header. When making a call on behalf of a customer account, the property value should be \"account-id\" followed by the customer account's ID (e.g., `on-behalf-of: account-id <account-id>`). When making a call on behalf of a Subuser, the property value should be the Subuser's username (e.g., `on-behalf-of: <subuser-username>`). See [**On Behalf Of**](https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/on-behalf-of) for more information."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/RecipientsDataErasureEraseRecipientsRequest","examples":[{"email_addresses":["user1@example.com","user2@example.com"]}]}},"required":["body"],"additionalProperties":false,"definitions":{"RecipientsDataErasureEraseRecipientsRequest":{"title":"EmailAddress","type":"object","properties":{"email_addresses":{"type":"array","description":"List of unique recipient email addresses whose PII will be erased. You may include a maximum of 5,000 addresses or a maximum payload size of 256Kb, whichever comes first.","items":{"type":"string"},"maxItems":5000,"minItems":1}},"required":["email_addresses"],"examples":[{"email_addresses":["user1@example.com","user2@example.com"]}]}}},"name":"Erase recipients' email data","id":"sendgrid.recipients_data_erasure.eraserecipientemaildata","example":{"body":{"email_addresses":["user1@example.com","user2@example.com"]}},"maxRequests":1,"summary":false}}