Input for DELETE operation
Operation for DELETE request
Send a DELETE request
import { del } from '@aws-amplify/api';
const { statusCode } = await del({
apiName,
path,
options: {
headers, // Optional, A map of custom header key/values
queryParams, // Optional, A map of query strings
}
}).response;
DELETE HTTP request