Get Personal Data Erasure Request
GET/v2/personal-data/erasure-requests/:erasure_request_id
This request serves to get an existing erasure request by its ID.
Request
Path Parameters
The id of the Personal-Data Erasure Request.
Responses
- 200
- 404
- default
Created
- application/json
- Schema
- Example (from schema)
- postErasureRequest
Schema
data object
The unique identifier for the log entry.
The type of the data entry to be erased.
The ID of the data entry to be erased (note that also all data entries in the personal data set will be erased).
The type of the object. Always equal to erasure_request
.
initiator object
Specifies who initiated the erasure request.
Specifies the status of the erasure request.
Elaborates on the erasure request status.
Specifies the status of the erasure request.
Elaborates on the erasure request status.
links object
The self link.
{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"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"
}
}
}
{
"data": {
"id": "fb25ecd9-c610-4659-97d6-0a7550ac0ddc",
"type": "erasure_request",
"resource_id": "98140362-6caf-4829-b93d-953ac6adbe6e",
"resource_type": "account",
"initiator": {
"access-token-email": "accounts@molt.in",
"access-token-id": "1222341536243515939",
"access-token-name": "moltin test team",
"access-token-store-id": "15ea9633-278c-4807-80f7-2009fed63c7e",
"access-token-type": "client-credentials-token"
},
"status": "CREATED",
"status_description": "The erasure request successfully created",
"created_at": "2022-06-07T12:25:38.52Z",
"updated_at": "2022-06-07T12:25:38.69Z",
"links": {
"self": "https://useast.api.elasticpath.com/v2/personal-data/erasure-requests/fb25ecd9-c610-4659-97d6-0a7550ac0ddc"
}
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- not-found-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"detail": "not found",
"status": "404",
"title": "Not Found"
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
A brief summary of the error.
The HTTP response code of the error.
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}