deviceTokenService->register($request->validated()); return $this->successResponse(code: 201); } public function destroy(string $token): JsonResponse { $this->deviceTokenService->remove($token); return $this->successResponse(); } }