Skip to main content

Create a user data deletion request

POST /v2/fulfillment/users/{user_id}/privacy_request

Sends a request to Instacart to delete the data for the specified Connect user account in accordance with applicable data privacy laws and regulations. If the request is received, the response contains the success field set to true. After Instacart receives the request, a user privacy workflow is initiated and the Connect user account and any associated user data is deleted.

Additional configuration is required before user data deletion requests can be processed. To update your configuration, contact your Instacart representative.

For more information about the data that Instacart collects, see Data privacy.

Security

NameInDescription
AuthorizationheaderThe Authorization header with the bearer token acquired during authentication.

Parameters

NameInTypeRequiredDescription
user_idpathstringRequiredThe ID of the user.

Request

None.

Request examples

curl --request POST \
--url 'https://connect.instacart.com/v2/fulfillment/users/{user_id}/privacy_request' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'

Response

FieldTypeRequiredDescription
successbooleanRequiredWhether the request was successful.

Response examples

200 Success

{
"success": true
}

4XX Errors

Error responses return either a single error or multiple errors.

HTTP CodeCauseError MessageError CodeError Meta
400User not found for the provided ID"User Not Found"1001{"key":"user_id"}