code: public function deleted(
          $resource = null,
          array $links = [],
          $meta = null,
          array $headers = []
      ) {
          return $this->getResourceResponse($resource, $links, $meta, $headers);
      }
docs: Return a response for a resource delete request.
  
  @param mixed|null $resource
  @param array $links
  @param mixed|null $meta
  @param array $headers
  @return mixed