/** * Returns the DELETE response * * @param \PSX\Record\RecordInterface $record * @return array|\PSX\Record\RecordInterface */ protected function doDelete($record) { $this->appService->removeToken($this->getUriFragment('app_id'), $this->getUriFragment('token_id')); $this->setBody(array('success' => true, 'message' => 'Removed token successful')); }