Delete one or more assets by ID or xref.
Request
Request headers
| Key | Required | Type | Description |
|---|---|---|---|
| x-batch | No | boolean |
Required only for batch processing. |
Query parameters
| Key | Required | Type | Description |
|---|---|---|---|
| externalExecutionIdstring | No | string |
Provides an external execution ID string by which to trace the request. For example,
|
Request body
An object ID or xref designates each asset to be deleted.
[
{
"id": "d96Bc6CEAF5aacBfDA446a47"
}
]
Response
The successful result for this method returns the collection of object IDs for the deleted assets.
Response body
Example status code responses for this method are shown here. To view the response schemas, you can download the Data Catalog APIs Open API Specification from the Precisely Developer Portal..
{
"links": {
"self": "https://example.com/",
"next": "https://example.com/",
"prev": "https://example.com/"
},
"data": {
"id": "d96Bc6CEAF5aacBfDA446a47"
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Bad Request"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}{
"statusCode": 503,
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "Request timeout"
}