JSON.stringify()
function...
$.ajax({
url: '/api/page/delete',
type: 'DELETE',
data: JSON.stringify({
'id': id,
'_token': ' {{ csrf_token() }} '
}),
Then parse the result to reach data item:
success: function(result) {
parsed_result = JSON.parse(result)
items = parsed_result.data.items
}