Menu
Post Erasure Request
Create Personal Data Erasure Request
POST
/v2/personal-data/erasure-requestsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Post Erasure Request action (under Personal Data).
- Fill in the fields below, then reference the result from later steps as
{{postErasureRequest.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"resource_type": "account",
"resource_id": "98140362-6caf-4829-b93d-953ac6adbe6e",
"type": "string"
}
}
Response
Returns 201 with an object. Read it in later steps with {{postErasureRequest.response.data.<field>}}.
{
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"resource_type": "account",
"resource_id": "98140362-6caf-4829-b93d-953ac6adbe6e",
"type": "string",
"initiator": {
"access-token-email": "accounts@elasticpath.com",
"access-token-id": 1222341536243516000,
"access-token-name": "elastic path test team",
"access-token-store-id": "15ea9633-278c-4807-80f7-2009fed63c7e",
"access-token-type": "client-credentials-token"
},
"status": "string",
"status_description": "string",
"created_at": "string",
"updated_at": "string",
"links": {
"self": "string"
}
}
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?