DeleteArtifacts

delete

/mftapp/rest/v1/artifacts

Delete the specified artifacts from the MDS repository.

Request

Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Successfully deleted the artifact

500 Response

Body ()
Root Schema : Error information.
Type: object
Title: Error information.
Show Source
Example Response (application/json)
{
    "errorCode":"MFT-2404",
    "errorKey":"MFT_MDS_SOURCE_DELETE_ERROR",
    "errorMessage":"Error occurred while deleting the source [file_src] from metadata store."
}
Back to Top

Examples

The following example shows how to delete MFT artifacts by submitting a DELETE request on the REST resource using cURL:
curl -i -X DELETE -u <username>:<password> -H "Content-Type: application/json" http://host:port/mftapp/rest/v1/artifacts?transferName=test2
Back to Top