younifyd
Menu

Post Erasure Request

Create Personal Data Erasure Request

POST/v2/personal-data/erasure-requests

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Post Erasure Request action (under Personal Data).
  3. 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.

dataobjectrequired
resource_typestring

The type of the data entry to be erased.

resource_idstring (uuid)

The ID of the data entry to be erased (note that also all data entries in the personal data set will be erased).

typestring

The type of the object. Always equal to `erasure_request`.

json
{
  "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>}}.

dataobject
idstring (uuid)

The unique identifier for the log entry.

resource_typestring

The type of the data entry to be erased.

resource_idstring (uuid)

The ID of the data entry to be erased (note that also all data entries in the personal data set will be erased).

typestring

The type of the object. Always equal to `erasure_request`.

initiatorobject5 fields

Specifies who initiated the erasure request.

statusstring

Specifies the status of the erasure request.

status_descriptionstring

Elaborates on the erasure request status.

created_atstring

Specifies the status of the erasure request.

updated_atstring

Elaborates on the erasure request status.

linksobject1 fields
json
{
  "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.